SF.net SVN: geany-plugins:[914] trunk/geany-plugins/geanygdb/src/ gdb-ui-main.c

dmaphy at users.sourceforge.net dmaphy at xxxxx
Wed Sep 2 20:41:10 UTC 2009


Revision: 914
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=914&view=rev
Author:   dmaphy
Date:     2009-09-02 20:41:09 +0000 (Wed, 02 Sep 2009)

Log Message:
-----------
g_free() unneeded buffers

Modified Paths:
--------------
    trunk/geany-plugins/geanygdb/src/gdb-ui-main.c

Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-main.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-ui-main.c	2009-09-02 20:29:40 UTC (rev 913)
+++ trunk/geany-plugins/geanygdb/src/gdb-ui-main.c	2009-09-02 20:41:09 UTC (rev 914)
@@ -381,6 +381,7 @@
 			}
 		}
 		text = buf;
+		g_free(buf);
 	}
 	btn = text ? gtk_button_new_with_mnemonic(text) : gtk_button_new();
 	if (cb)


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