Revision: 2227 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2227&view=re... Author: cesspit Date: 2011-10-04 08:09:09 +0000 (Tue, 04 Oct 2011) Log Message: ----------- debugger: watch related bugfix
Modified Paths: -------------- trunk/geany-plugins/debugger/src/dbm_gdb.c trunk/geany-plugins/debugger/src/debug.c
Modified: trunk/geany-plugins/debugger/src/dbm_gdb.c =================================================================== --- trunk/geany-plugins/debugger/src/dbm_gdb.c 2011-10-03 21:17:42 UTC (rev 2226) +++ trunk/geany-plugins/debugger/src/dbm_gdb.c 2011-10-04 08:09:09 UTC (rev 2227) @@ -1466,6 +1466,7 @@ gchar command[1000]; sprintf(command, "-var-delete %s", internal); exec_sync_command(command, TRUE, NULL); + variable_free(var); watches = g_list_delete_link(watches, iter); } iter = iter->next;
Modified: trunk/geany-plugins/debugger/src/debug.c =================================================================== --- trunk/geany-plugins/debugger/src/debug.c 2011-10-03 21:17:42 UTC (rev 2226) +++ trunk/geany-plugins/debugger/src/debug.c 2011-10-04 08:09:09 UTC (rev 2227) @@ -1283,7 +1283,6 @@ }
active_module->remove_watch(var->internal->str); - variable_free(var);
calltip = g_string_free(calltip_str, FALSE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.