SF.net SVN: geany-plugins:[1936] trunk/geany-plugins/geanygdb/src/ gdb-io-frame.c
dmaphy at users.sourceforge.net
dmaphy at xxxxx
Wed Feb 23 19:49:16 UTC 2011
Revision: 1936
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1936&view=rev
Author: dmaphy
Date: 2011-02-23 19:49:15 +0000 (Wed, 23 Feb 2011)
Log Message:
-----------
geanygdb: Fix null dereference (patch by Colomban Wendling, thanks!)
Modified Paths:
--------------
trunk/geany-plugins/geanygdb/src/gdb-io-frame.c
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-frame.c
===================================================================
--- trunk/geany-plugins/geanygdb/src/gdb-io-frame.c 2011-02-23 11:07:48 UTC (rev 1935)
+++ trunk/geany-plugins/geanygdb/src/gdb-io-frame.c 2011-02-23 19:49:15 UTC (rev 1936)
@@ -182,8 +182,8 @@
lv->type = g_strdup(type ? type : "int");
lv->value = fmt_val(value);
lv->numchild = g_strdup(numchild ? numchild : "0");
+ delete_var(lv->name);
}
- delete_var(lv->name);
}
if (h)
g_hash_table_destroy(h);
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