Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-13 03:37:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-13 03:37:47 +0300
commit4eb57d00bb47c4f5028f1fdfe180f2ba0e89e8ad (patch)
tree9c8272a456f9634159b6b6d7a7cece758e0b46a5
parent454b7876ff18c5103cad7d1ebc4e7bef5b1bff4b (diff)
parent2e08500d047e830ceeb651466cae0140d31fe9a4 (diff)
Merge branch 'blender-v2.91-release'
-rw-r--r--source/blender/imbuf/intern/png.c1
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;
}