Revision: 1901 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1901&view=re... Author: frlan Date: 2011-02-06 15:06:22 +0000 (Sun, 06 Feb 2011)
Log Message: ----------- GeanyLaTeX: Fix a memory leak
Modified Paths: -------------- trunk/geanylatex/ChangeLog trunk/geanylatex/src/templates.c
Modified: trunk/geanylatex/ChangeLog =================================================================== --- trunk/geanylatex/ChangeLog 2011-02-05 11:33:17 UTC (rev 1900) +++ trunk/geanylatex/ChangeLog 2011-02-06 15:06:22 UTC (rev 1901) @@ -1,3 +1,8 @@ +2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * src/templace.c: Fix a little memory leak. + + 2011-01-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Move convert to table function to new Tableconvert plugin of Geany-Plugins.
Modified: trunk/geanylatex/src/templates.c =================================================================== --- trunk/geanylatex/src/templates.c 2011-02-05 11:33:17 UTC (rev 1900) +++ trunk/geanylatex/src/templates.c 2011-02-06 15:06:22 UTC (rev 1901) @@ -44,7 +44,10 @@
/* Return if its not a searched file */ if (g_str_has_suffix(file,".gtl") == FALSE) + { + g_free(template); return; + }
template->filepath = g_strdup(file);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org