diff options
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 25fc6a1cddf..60fc2ac0867 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -408,6 +408,7 @@ bool imb_savepng(struct ImBuf *ibuf, const char *filepath, int flags) if (pixels16) { MEM_freeN(pixels16); } + MEM_freeN(row_pointers); printf("imb_savepng: Cannot open file for writing: '%s'\n", filepath); return 0; } |