From: <enl...@li...> - 2005-12-18 16:11:46
|
Enlightenment CVS committal Author : rephorm Project : e17 Module : apps/elicit Dir : e17/apps/elicit/src Modified Files: swatches.c Log Message: fix a memleak =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/swatches.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- swatches.c 18 Dec 2005 06:53:46 -0000 1.13 +++ swatches.c 18 Dec 2005 16:11:39 -0000 1.14 @@ -279,8 +279,6 @@ { Elicit_Swatch *sw; - sw = calloc(1, sizeof(Elicit_Swatch)); - snprintf(buf, PATH_MAX, "swatches/%d/name", i); ret = eet_read(eet, buf, &size_ret); if (ret) { |