diff options
author | jstebbins <[email protected]> | 2015-06-01 15:39:05 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-06-01 15:39:05 +0000 |
commit | abefd8dfa1e9a4690e1487b854b25eeb247c1903 (patch) | |
tree | dc50151c47009e81cb7fa2e3c8e9ed2edb932353 /libhb | |
parent | 7e778cf7bf897b692754745862598fbc12cf877c (diff) |
Fix a couple of memory leaks
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7254 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb_json.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 69760cd83..21089e219 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -744,6 +744,7 @@ void hb_json_job_scan( hb_handle_t * h, const char * json_job ) if (result < 0) { hb_error("json unpack failure, failed to find title: %s", error.text); + hb_value_free(&dict); return; } @@ -760,6 +761,7 @@ void hb_json_job_scan( hb_handle_t * h, const char * json_job ) hb_snooze(50); hb_get_state2(h, &state); } + hb_value_free(&dict); } static int validate_audio_codec_mux(int codec, int mux, int track) |