diff options
-rw-r--r-- | src/loader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loader.c b/src/loader.c index b542843..d70b66d 100644 --- a/src/loader.c +++ b/src/loader.c @@ -61,6 +61,9 @@ void imv_destroy_loader(struct imv_loader *ldr) if(ldr->bmp) { FreeImage_Unload(ldr->bmp); } + if(ldr->out_bmp) { + FreeImage_Unload(ldr->out_bmp); + } if(ldr->mbmp) { FreeImage_CloseMultiBitmap(ldr->mbmp, 0); } |