|
Free image structure created by PiDuplicateImage
|
01/28/2012 4:49 PM
post91219
|
Free image structure created by PiDuplicateImage
Hello,
I am experimenting with images in Photon and have a question about freeing images. If I create an image and then use
PiDuplicateImage() to create a copy of it I get a new PhImage_t structure allocated. I know I need to set the image->
flags and then call PhReleaseImage() to free the image data but what is the correct way to free the newly allocated
PhImage_t structure? Using free()?
Thanks.
|
|
|