SF.net SVN: geany-plugins:[1597] trunk/geanylatex/src/geanylatex.c

frlan at users.sourceforge.net frlan at xxxxx
Sun Sep 19 19:57:05 UTC 2010


Revision: 1597
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1597&view=rev
Author:   frlan
Date:     2010-09-19 19:57:05 +0000 (Sun, 19 Sep 2010)

Log Message:
-----------
GeanyLaTeX: Fix a memory leak on LaTeX wizard

Modified Paths:
--------------
    trunk/geanylatex/src/geanylatex.c

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-09-18 23:57:32 UTC (rev 1596)
+++ trunk/geanylatex/src/geanylatex.c	2010-09-19 19:57:05 UTC (rev 1597)
@@ -1749,6 +1749,7 @@
 	{
 		author = geany_data->template_prefs->developer;
 		gtk_entry_set_text(GTK_ENTRY(glatex_wizard.author_textbox), author);
+		g_free(author);
 	}
 	gtk_misc_set_alignment(GTK_MISC(label_author), 0, 0.5);
 	gtk_table_attach_defaults(GTK_TABLE(table), label_author, 0, 1, 4, 5);


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