Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop
Modified Files:
ecore_desktop_icon.c
Log Message:
free closest.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ecore_desktop_icon.c 23 Sep 2006 09:07:35 -0000 1.27
+++ ecore_desktop_icon.c 23 Sep 2006 10:34:23 -0000 1.28
@@ -258,7 +258,11 @@
{
/* Fall back strategy #1, look for closest size in this theme. */
found = closest;
- if (found) goto done;
+ if (found)
+ {
+ closest = NULL;
+ goto done;
+ }
/* Fall back strategy #2, Try again with the parent themes. */
if ((theme->Inherits) && (strcmp(icon_theme, "hicolor") != 0))
@@ -306,6 +310,7 @@
}
done:
+ if (closest) free(closest);
ecore_desktop_icon_theme_destroy(theme);
return found;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs