Fix possible memory leak in error conditions when saving resized album art.

This commit is contained in:
Justin Maggard
2014-01-16 16:07:53 -08:00
parent a21bbe557d
commit 9eec5b8cac
3 changed files with 15 additions and 16 deletions

View File

@ -54,5 +54,5 @@ image_resize(image_s * src_image, int32_t width, int32_t height);
unsigned char *
image_save_to_jpeg_buf(image_s * pimage, int * size);
int
image_save_to_jpeg_file(image_s * pimage, const char * path);
char *
image_save_to_jpeg_file(image_s * pimage, char * path);