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

frlan at users.sourceforge.net frlan at xxxxx
Wed Dec 31 14:23:19 UTC 2008


Revision: 360
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=360&view=rev
Author:   frlan
Date:     2008-12-31 14:23:18 +0000 (Wed, 31 Dec 2008)

Log Message:
-----------
GeanyLipsum: Reverted the change from r353 to avoid a segfault when freeing document pointer

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

Modified: trunk/geanylipsum/src/geanylipsum.c
===================================================================
--- trunk/geanylipsum/src/geanylipsum.c	2008-12-24 13:16:31 UTC (rev 359)
+++ trunk/geanylipsum/src/geanylipsum.c	2008-12-31 14:23:18 UTC (rev 360)
@@ -112,7 +112,7 @@
 	if (doc != NULL)
 	{
 		ft = doc->file_type;
-		g_free(doc);
+		doc = NULL;
 	}
 	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