From: RĂ©mi Denis-Courmont Date: Thu, 4 Feb 2010 16:43:05 +0000 (+0200) Subject: config_ChainCreate: result must be free()'d, so it must be used X-Git-Tag: 1.1.0-ff~422 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=711d1506666736e6814773dfe637f5784c089323;p=vlc config_ChainCreate: result must be free()'d, so it must be used --- diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index dbe3280cfd..e24195b0e7 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -284,7 +284,7 @@ VLC_EXPORT( void, __config_ChainParse, ( vlc_object_t *, const char *psz_prefi * * 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