SF.net SVN: geany-plugins:[2049] trunk/geany-plugins/geanylatex/src/ templates.c
frlan at users.sourceforge.net
frlan at xxxxx
Sat Apr 23 06:47:01 UTC 2011
Revision: 2049
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2049&view=rev
Author: frlan
Date: 2011-04-23 06:47:00 +0000 (Sat, 23 Apr 2011)
Log Message:
-----------
GeanyLaTeX: Backport a fix for a memory leak from plugin's trunk
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/src/templates.c
Modified: trunk/geany-plugins/geanylatex/src/templates.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/templates.c 2011-04-23 06:46:43 UTC (rev 2048)
+++ trunk/geany-plugins/geanylatex/src/templates.c 2011-04-23 06:47:00 UTC (rev 2049)
@@ -44,6 +44,7 @@
/* 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.
More information about the Plugins-Commits
mailing list