summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-08-27 15:26:26 +0000
committerjstebbins <[email protected]>2008-08-27 15:26:26 +0000
commit1833f566d3f9c7fbe0ef61b4f9304b6e0f7fddb5 (patch)
treeff5e4ea6f1d7dc2b9e58e62ada83907d17847f4f /gtk/src/settings.c
parent163bce7432c717a0d102568a0d582375f507e3f7 (diff)
LinGui: plug small memory leak
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1654 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 2f1604c54..362dfff2f 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -2010,6 +2010,7 @@ ghb_x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
len = strlen(result);
if (len > 0) result[len - 1] = 0;
ghb_ui_update(ud, "x264_options", result);
+ g_free(result);
}
}