From: Enlightenment C. <no...@cv...> - 2008-06-05 08:12:29
|
Enlightenment CVS committal Author : cedric Project : e17 Module : libs/evas Dir : e17/libs/evas/src/lib/data Modified Files: evas_array.c Log Message: Forgot to update the current allocated space. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/data/evas_array.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- evas_array.c 4 Jun 2008 16:39:43 -0000 1.2 +++ evas_array.c 5 Jun 2008 08:12:25 -0000 1.3 @@ -103,11 +103,14 @@ if (total == 0) { + array->total = 0; array->data = NULL; free(tmp); } else - array->data = tmp; + { + array->data = tmp; + } array->count = total; } |