jpeg_destroy

Name

jpeg_destroy -- deallocation of a JPEG object

Synopsis

#include <jpeglib.h>

void jpeg_destroy(j_common_ptr cinfo);

Description

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