Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Who is responsible for alloc mem for access.direct.data?: Page 1 of 4 (4 Items)
   
Who is responsible for alloc mem for access.direct.data?  
Hi All,

I am having a problem with setting img.flags |= IMG_DIRECT.  Who is responsible for alloc memory for acess.direct.data? 
 Is it the user or does the img_load_file() allocates memeory when the user sets the IMG_DIRECT flag.  I have been 
spinning why wheels on this.  I am trying to grab the acess.direct.data pointer after loading a png file, but my system 
hangs everytime I set the IMG_DIRECT flag.

Thanks,

Reza.