Commit a9aa82f3 authored by Rémi Duraffort's avatar Rémi Duraffort

rc: no need to strdup the value returned by var_GetString.

parent 3728bb0f
...@@ -1655,7 +1655,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1655,7 +1655,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
} }
else else
{ {
psz_value = strdup( val.psz_string ); psz_value = val.psz_string;
} }
if ( var_Change( p_vout, psz_variable, if ( var_Change( p_vout, psz_variable,
......
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