[vlc-commits] vlc_url.h: mark some functions with attribute malloc

Rafaël Carré git at videolan.org
Sun Apr 29 19:38:09 CEST 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 22 16:49:05 2012 -0400| [5ec3fe6bae6e19156d1d169eaeed1c482a15f311] | committer: Rafaël Carré

vlc_url.h: mark some functions with attribute malloc

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

 include/vlc_url.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_url.h b/include/vlc_url.h
index 994d8ff..6ac2a30 100644
--- a/include/vlc_url.h
+++ b/include/vlc_url.h
@@ -45,11 +45,11 @@ struct vlc_url_t
     char *psz_buffer; /* to be freed */
 };
 
-VLC_API char * decode_URI_duplicate( const char *psz );
+VLC_API char * decode_URI_duplicate( const char *psz ) VLC_MALLOC;
 VLC_API char * decode_URI( char *psz );
-VLC_API char * encode_URI_component( const char *psz );
-VLC_API char * make_URI( const char *path, const char *scheme );
-VLC_API char * make_path( const char *url );
+VLC_API char * encode_URI_component( const char *psz ) VLC_MALLOC;
+VLC_API char * make_URI( const char *path, const char *scheme ) VLC_MALLOC;
+VLC_API char * make_path( const char *url ) VLC_MALLOC;
 
 /*****************************************************************************
  * vlc_UrlParse:



More information about the vlc-commits mailing list