From 546f57a1402492f2aedeab1ca6cf9f3d3201795f Mon Sep 17 00:00:00 2001 From: ritsuka Date: Mon, 22 Dec 2014 07:30:12 +0000 Subject: MacGui: fixed a number of memory leaks. Do not set some deprecated hb_job fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6637 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBTitle.m | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'macosx/HBTitle.m') diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m index 989d96305..20c985691 100644 --- a/macosx/HBTitle.m +++ b/macosx/HBTitle.m @@ -61,6 +61,15 @@ extern NSString *keySubTrackSrtCharCode; return self; } +- (void)dealloc +{ + [_name release]; + [_audioTracks release]; + [_subtitlesTracks release]; + [_chapters release]; + + [super dealloc]; +} - (NSString *)name { if (!_name) -- cgit v1.2.3