Commit 09e1913c authored by David Fuhrmann's avatar David Fuhrmann

macosx: remove unneeded free

parent 31b1205f
......@@ -520,8 +520,7 @@ static VLCVideoEffects *_o_sharedInstance = nil;
psz_string = config_GetPsz(p_intf, psz_filter_type);
if (b_on) {
if (!psz_string) {
free(psz_string);
if (psz_string == NULL) {
psz_string = strdup(psz_name);
} else if (strstr(psz_string, psz_name) == NULL) {
char *psz_tmp = strdup([[NSString stringWithFormat: @"%s:%s", psz_string, psz_name] UTF8String]);
......
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