[libbluray-devel] Add missing BD_ATTR_MALLOC

hpi1 git at videolan.org
Mon Aug 25 13:10:35 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 25 14:09:37 2014 +0300| [92bbfd4e557771286ee743587ebcd3be33446cd4] | committer: hpi1

Add missing BD_ATTR_MALLOC

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

 src/util/array.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/array.h b/src/util/array.h
index caab19b..dbb41aa 100644
--- a/src/util/array.h
+++ b/src/util/array.h
@@ -35,7 +35,7 @@
  * @return     array of n pointers, each pointing to memory block of size sz.
  *
  */
-BD_PRIVATE void *array_alloc(size_t n, size_t sz);
+BD_PRIVATE void *array_alloc(size_t n, size_t sz) BD_ATTR_MALLOC;
 
 /*
  * array_free()



More information about the libbluray-devel mailing list