diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-13 03:37:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-13 03:37:47 +0300 |
commit | 4eb57d00bb47c4f5028f1fdfe180f2ba0e89e8ad (patch) | |
tree | 9c8272a456f9634159b6b6d7a7cece758e0b46a5 /source/blender | |
parent | 454b7876ff18c5103cad7d1ebc4e7bef5b1bff4b (diff) | |
parent | 2e08500d047e830ceeb651466cae0140d31fe9a4 (diff) |
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender')
-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; } |