Commit 8f386b34 authored by Felix Paul Kühne's avatar Felix Paul Kühne

title decrapifier: fix memory leak

parent 990bd544
......@@ -179,8 +179,11 @@ static inline NSNumber *numberFromTwoChars(char high, char low)
}
}
if (successfulSearch)
return [NSDictionary dictionaryWithDictionary:mutableDict];
if (successfulSearch) {
NSDictionary *dict = [NSDictionary dictionaryWithDictionary:mutableDict];
[mutableDict release];
return dict;
}
return nil;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment