jpeg_destroy_decompress

Name

jpeg_destroy_decompress -- deallocate a JPEG decompression object

Synopsis

#include <jpeglib.h>

void jpeg_destroy_decompress(j_decompress_ptr cinfo);

Description

The function jpeg_destroy_decompress() shall deallocate and release all memory associated with the decompression object. The jpeg_decompress_struct itself and the error manager struct allocated by the application should not be freed by this function.