Revision: 5768 http://geany.svn.sourceforge.net/geany/?rev=5768&view=rev Author: eht16 Date: 2011-05-08 16:51:08 +0000 (Sun, 08 May 2011)
Log Message: ----------- Fix memory leaks (reported by an anonymous IRC user).
Modified Paths: -------------- branches/0.20.1/ChangeLog branches/0.20.1/tagmanager/php.c
Modified: branches/0.20.1/ChangeLog =================================================================== --- branches/0.20.1/ChangeLog 2011-05-08 16:48:35 UTC (rev 5767) +++ branches/0.20.1/ChangeLog 2011-05-08 16:51:08 UTC (rev 5768) @@ -10,6 +10,8 @@ * src/editor.c: Ensure the editor widget has the focus when the editor menu is called. + * tagmanager/php.c: + Fix memory leaks (reported by an anonymous IRC user).
2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: branches/0.20.1/tagmanager/php.c =================================================================== --- branches/0.20.1/tagmanager/php.c 2011-05-08 16:48:35 UTC (rev 5767) +++ branches/0.20.1/tagmanager/php.c 2011-05-08 16:51:08 UTC (rev 5768) @@ -127,6 +127,9 @@ e.kindName = kindName; e.extensionFields.arglist = arglist; makeTagEntry (&e); + + eFree(name); + eFree(arglist); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.