[libbluray-devel] Add BD_ATTR_MALLOC

hpi1 git at videolan.org
Mon Jan 26 08:56:18 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Jan 25 17:46:23 2015 +0200| [cd10c7889d80303cc24272da4a41d232b2928c5e] | committer: hpi1

Add BD_ATTR_MALLOC

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

 src/file/dirs.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/file/dirs.h b/src/file/dirs.h
index 841559f..4ca71f3 100644
--- a/src/file/dirs.h
+++ b/src/file/dirs.h
@@ -33,8 +33,8 @@ BD_PRIVATE char       *win32_get_font_dir(const char *font_file);
 
 BD_PRIVATE const char *file_get_config_system(const char *dir);
 
-BD_PRIVATE char *file_get_config_home(void);
-BD_PRIVATE char *file_get_cache_home(void);
-BD_PRIVATE char *file_get_data_home(void);
+BD_PRIVATE char *file_get_config_home(void) BD_ATTR_MALLOC;
+BD_PRIVATE char *file_get_cache_home(void) BD_ATTR_MALLOC;
+BD_PRIVATE char *file_get_data_home(void) BD_ATTR_MALLOC;
 
 #endif



More information about the libbluray-devel mailing list