Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 8

PhABResExportCommon_t.free_image()

A function exported by PhAB to free an image created with alloc_image()

Synopsis:

void free_image  ( PhImage_t *p )

Arguments:

p
A pointer to the image date you want to free, returned by alloc_image().

Description:

This function is exported from PhAB in the PhABResExportCommon_t structure.

This function should be used by the plugin to free the image allocated using the PhAB exported alloc_image() function.

Because the flags member is set to Ph_RELEASE_IMAGE_ALL when an image is allocated with alloc_image(), all the fields of the new image that required allocating memory are released when the image is released.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

alloc_image(), PhABResExportCommon_t


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 89

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/api/free_image.html on line 89