Syntax
void sod_img_set_release(sod_img *aLoaded, int nEntries);
Description
Release the resources allocated to each sod_img object obtained from a previous call to sod_img_set_load_from_directory(). This interface must be called in order to avoid memory leaks.
Parameters
sod_img *aLoaded
A pointer to sod_img array that is to be released and each sod_img object it contains.
int nEntries
Total number of entries in the aLoaded sod_img array.
Return Value
None.
Example
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
See also
sod_canny_edge_image • sod_image_find_blobs • sod_hough_lines_detect • sod_img_set_load_from_directory • sod_composite_image.