Commit 4aa55602 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Put vlc_object_release() at the proper place. This fixes a refcounting problem.

parent a6f87e12
...@@ -1930,8 +1930,8 @@ static int Menu( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1930,8 +1930,8 @@ static int Menu( vlc_object_t *p_this, char const *psz_cmd,
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
vlc_object_release( p_playlist );
} }
vlc_object_release( p_playlist );
val.psz_string = strdup( newval.psz_string ); val.psz_string = strdup( newval.psz_string );
if( !strcmp( val.psz_string, "on" ) || !strcmp( val.psz_string, "show" )) if( !strcmp( val.psz_string, "on" ) || !strcmp( val.psz_string, "show" ))
......
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