From 711d1506666736e6814773dfe637f5784c089323 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 4 Feb 2010 18:43:05 +0200 Subject: [PATCH] config_ChainCreate: result must be free()'d, so it must be used --- include/vlc_configuration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5