summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-08 02:13:48 +0000
committerjstebbins <[email protected]>2008-09-08 02:13:48 +0000
commit4d231bd034d3f73efae01eee686896234c202a85 (patch)
tree97641b0afecfd6d8e167e276198f75b8de7b3e63 /gtk/src/callbacks.c
parentee19debd964cbd40df6097f34be0076162700550 (diff)
LinGui: yikes, this thing leaks worse than my roof, fixed
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 453fa693a..c8c54175a 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -2091,8 +2091,10 @@ ghb_select_preset(GtkBuilder *builder, const gchar *preset)
{
gtk_tree_selection_select_iter (selection, &iter);
foundit = TRUE;
+ g_free(tpreset);
break;
}
+ g_free(tpreset);
done = !gtk_tree_model_iter_next(store, &iter);
} while (!done);
}