[libbluray-devel] array.h: remove incorrect malloc attribute

hpi1 git at videolan.org
Mon Aug 27 08:33:11 CEST 2018


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 27 09:32:23 2018 +0300| [d933a3a717c601ae187724b778294ffd8dc20681] | committer: hpi1

array.h: remove incorrect malloc attribute

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

 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 dbb41aa5..caab19bf 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_ATTR_MALLOC;
+BD_PRIVATE void *array_alloc(size_t n, size_t sz);
 
 /*
  * array_free()



More information about the libbluray-devel mailing list