# HG changeset patch # User morshed.nader@gmail.com # Date 1294244481 0 # Node ID 8e29b6fff216fcf00e1eda6831343025634a79a8 # Parent b76def85cc0457f3f5c0fb8a056e039e3da927b5 gtksourceundomanager: Fix a few memory leaks in our bundled copy of this widget. Refs #13162. committer: John Bailey diff -r b76def85cc04 -r 8e29b6fff216 pidgin/gtksourceundomanager.c --- a/pidgin/gtksourceundomanager.c Wed Jan 05 16:20:42 2011 +0000 +++ b/pidgin/gtksourceundomanager.c Wed Jan 05 16:21:21 2011 +0000 @@ -683,8 +683,10 @@ 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); }