[libbluray-devel] commit: TMP Added malloc attribute (hpi1 )

git at videolan.org git at videolan.org
Tue Oct 5 14:33:50 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Jul 30 16:18:25 2010 +0300| [83d4597cc76829afd3b8f56520ab782bb1952524] | committer: hpi1 

TMP Added malloc attribute

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

 src/libbluray/hdmv/mobj_parse.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libbluray/hdmv/mobj_parse.h b/src/libbluray/hdmv/mobj_parse.h
index e52aeb3..2bcc256 100644
--- a/src/libbluray/hdmv/mobj_parse.h
+++ b/src/libbluray/hdmv/mobj_parse.h
@@ -62,7 +62,7 @@ typedef struct {
 } MOBJ_OBJECTS;
 
 
-BD_PRIVATE MOBJ_OBJECTS* mobj_parse(const char *path); /* parse MovieObject.bdmv */
+BD_PRIVATE MOBJ_OBJECTS* mobj_parse(const char *path) BD_ATTR_MALLOC; /* parse MovieObject.bdmv */
 BD_PRIVATE void          mobj_parse_cmd(uint8_t *buf, MOBJ_CMD *cmd);
 BD_PRIVATE void          mobj_free(MOBJ_OBJECTS *index);
 



More information about the libbluray-devel mailing list