Commit 2c74bfc0 authored by Rémi Duraffort's avatar Rémi Duraffort

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

(cherry picked from commit a9aa82f3)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 317a7c51
...@@ -1750,7 +1750,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1750,7 +1750,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