summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-08 00:24:11 +0000
committerjstebbins <[email protected]>2008-09-08 00:24:11 +0000
commitee19debd964cbd40df6097f34be0076162700550 (patch)
treeca17cbdbaf7a1076e251528196bfc0b610611a83 /gtk/src/main.c
parent6ade707e8ed615708c3eaa5a0d282c3936fe825a (diff)
LinGui: fix memory issues found by valgrind
one uninitialized variable one missing free one malloc that's 1 byte too small git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1676 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 6cf76ae1c..02012b9bd 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -513,6 +513,7 @@ main (int argc, char *argv[])
ud->queue = NULL;
ud->current_job = NULL;
ud->current_dvd_device = NULL;
+ ud->dont_clear_presets = FALSE;
// Redirect stderr to the activity window
IoRedirect(ud);
// Enable events that alert us to media change events