pidgin: c6f66fc0: gtksourceundomanager: Fix a few memory l...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Wed Jan 5 11:32:08 EST 2011
----------------------------------------------------------------------
Revision: c6f66fc01b05e7582a4e5074b75cf7d8bdb632c9
Parent: 62dca91b245f468607f6a3913abb28205511f869
Author: morshed.nader at gmail.com
Date: 01/05/11 11:21:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c6f66fc01b05e7582a4e5074b75cf7d8bdb632c9
Changelog:
gtksourceundomanager: Fix a few memory leaks in our bundled copy of this widget. Refs #13162.
Changes against parent 62dca91b245f468607f6a3913abb28205511f869
patched pidgin/gtksourceundomanager.c
-------------- next part --------------
============================================================
--- pidgin/gtksourceundomanager.c 5c7b0163e268c885e8b6ff7769051e038f0a89ac
+++ pidgin/gtksourceundomanager.c 007f324b0f92d080085778fde3be45fc8abb5233
@@ -683,8 +683,10 @@ gtk_source_undo_action_free (GtkSourceUn
g_free (action->action.delete.text);
else if (action->action_type == GTK_SOURCE_UNDO_ACTION_INSERT_ANCHOR)
g_object_unref(action->action.insert_anchor.anchor);
- else
+ else {
+ g_free (action);
g_return_if_reached ();
+ }
g_free (action);
}
More information about the Commits
mailing list