I'm not sure. is it right fix?
  
-Regards, Hermet-

-----Original Message-----
From: "Enlightenment SVN"<[email protected]> 
To: <[email protected]>; 
Cc: 
Sent: 2012-12-19 (수) 19:28:21
Subject: E SVN: stefan trunk/elementary/src/lib

Log:
elm/map: Free buffer on error path

Author:       stefan
Date:         2012-12-19 02:28:20 -0800 (Wed, 19 Dec 2012)
New Revision: 81342
Trac:         http://trac.enlightenment.org/e/changeset/81342

Modified:
  trunk/elementary/src/lib/elm_map.c 

Modified: trunk/elementary/src/lib/elm_map.c
===================================================================
--- trunk/elementary/src/lib/elm_map.c2012-12-19 10:02:48 UTC (rev 81341)
+++ trunk/elementary/src/lib/elm_map.c2012-12-19 10:28:20 UTC (rev 81342)
@@ -2941,6 +2941,8 @@
                        eina_simple_xml_parse
                          (buf, sz, EINA_TRUE, _xml_name_dump_list_cb, nl);
                     }
+                  else
+                    free(buf);
                }
           }
         fclose(f);


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

 
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to