SF.net SVN: geany-plugins:[353] trunk/geanylipsum/src/geanylipsum.c

frlan at users.sourceforge.net frlan at xxxxx
Mon Dec 22 22:09:04 UTC 2008


Revision: 353
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=353&view=rev
Author:   frlan
Date:     2008-12-22 22:09:04 +0000 (Mon, 22 Dec 2008)

Log Message:
-----------
GeanyLipsum: free doc pointer after usage

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

Modified: trunk/geanylipsum/src/geanylipsum.c
===================================================================
--- trunk/geanylipsum/src/geanylipsum.c	2008-12-22 22:08:39 UTC (rev 352)
+++ trunk/geanylipsum/src/geanylipsum.c	2008-12-22 22:09:04 UTC (rev 353)
@@ -112,6 +112,7 @@
 	if (doc != NULL)
 	{
 		ft = doc->file_type;
+		g_free(doc);
 	}
 	dialog = gtk_dialog_new_with_buttons(_("Lipsum-generator"),
  					GTK_WINDOW(geany->main_widgets->window),


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