[vlc-commits] module_FindConfig() is not a malloc-style function (fixes #4524)

Rémi Denis-Courmont git at videolan.org
Sun Mar 27 12:03:26 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 27 13:02:20 2011 +0300| [b17181d0410ebcf4ff052928572fdb2fa71794bc] | committer: Rémi Denis-Courmont

module_FindConfig() is not a malloc-style function (fixes #4524)

This partially reverts commit add821b0eaeb2922d9d5191b7be1f1a833d4d245.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b17181d0410ebcf4ff052928572fdb2fa71794bc
---

 include/vlc_configuration.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h
index a19d71b..31cd761 100644
--- a/include/vlc_configuration.h
+++ b/include/vlc_configuration.h
@@ -203,7 +203,7 @@ VLC_EXPORT( int,    config_SaveConfigFile, ( vlc_object_t *, const char * ) );
 VLC_EXPORT( void,   config_ResetAll, ( vlc_object_t * ) );
 #define config_ResetAll(a) config_ResetAll(VLC_OBJECT(a))
 
-VLC_EXPORT( module_config_t *, config_FindConfig,( vlc_object_t *, const char * ) LIBVLC_USED LIBVLC_MALLOC );
+VLC_EXPORT( module_config_t *, config_FindConfig,( vlc_object_t *, const char * ) LIBVLC_USED );
 VLC_EXPORT(char *, config_GetDataDir, ( vlc_object_t * ) LIBVLC_USED LIBVLC_MALLOC );
 #define config_GetDataDir(a) config_GetDataDir(VLC_OBJECT(a))
 VLC_EXPORT(const char *, config_GetLibDir, ( void ) LIBVLC_USED);



More information about the vlc-commits mailing list