XDestroyImage(ximage)
XImage *ximage;
ximage | Specifies the image. |
Note that when the image is created using XCreateImage(), XGetImage(), or XSubImage(), the destroy procedure that this macro calls frees both the image structure and the data pointed to by the image structure.