]> git.sesse.net Git - vlc/commitdiff
config_ChainCreate: result must be free()'d, so it must be used
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 4 Feb 2010 16:43:05 +0000 (18:43 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 4 Feb 2010 16:43:22 +0000 (18:43 +0200)
include/vlc_configuration.h

index dbe3280cfd3b3221d968499cddfb8be90d22f59f..e24195b0e77045318b3c806c8a9abd97ac9ac2a6 100644 (file)
@@ -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