Commit 12e0e579 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix double free in advanced preferences dialog

parent 3488ce79
...@@ -387,7 +387,7 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \ ...@@ -387,7 +387,7 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \
@interface VLCConfigControl() @interface VLCConfigControl()
{ {
char *psz_name; const char *psz_name;
} }
@end @end
...@@ -421,11 +421,6 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \ ...@@ -421,11 +421,6 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \
[self setFrame:frame]; [self setFrame:frame];
} }
- (void)dealloc
{
free(psz_name);
}
+ (int)calcVerticalMargin:(int)i_curItem lastItem:(int)i_lastItem + (int)calcVerticalMargin:(int)i_curItem lastItem:(int)i_lastItem
{ {
int i_margin; int i_margin;
......
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