Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:


leak--

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -3 -r1.222 -r1.223
--- e_apps.c    8 Oct 2006 13:38:42 -0000       1.222
+++ e_apps.c    9 Oct 2006 15:11:41 -0000       1.223
@@ -1347,10 +1347,16 @@
          {
               clever_match = e_app_path_find(winner.path);
              if (clever_match)
-                break;
+              {
+                 if (winners) evas_hash_free(winners);
+                 break;
+              }
+         }
+        if (winners)
+         {
+            evas_hash_free(winners);
+            winners = NULL;
          }
-        evas_hash_free(winners);
-        winners = NULL;
      }
 }
    clever_time = ecore_time_get() - begin;



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to