release the memory of IplImage Header