Commit 711d1506 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config_ChainCreate: result must be free()'d, so it must be used

parent 5ec48fbc
...@@ -284,7 +284,7 @@ VLC_EXPORT( void, __config_ChainParse, ( vlc_object_t *, const char *psz_prefi ...@@ -284,7 +284,7 @@ VLC_EXPORT( void, __config_ChainParse, ( vlc_object_t *, const char *psz_prefi
* *
* The options values are unescaped using config_StringUnescape. * The options values are unescaped using config_StringUnescape.
*/ */
VLC_EXPORT( char *, config_ChainCreate, ( char **ppsz_name, config_chain_t **pp_cfg, const char *psz_string ) ); VLC_EXPORT( char *, config_ChainCreate, ( char **ppsz_name, config_chain_t **pp_cfg, const char *psz_string ) ) LIBVLC_USED LIBVLC_MALLOC;
/** /**
* This function will release a linked list of config_chain_t * This function will release a linked list of config_chain_t
......
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