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:
authorTon Roosendaal <ton@blender.org>2012-12-27 21:15:45 +0400
committerTon Roosendaal <ton@blender.org>2012-12-27 21:15:45 +0400
commitb931d2d0cdb3998e86d0dc828751cfd40be58110 (patch)
tree1cea00265557979bb3fd0ce20f59328c59b885c0 /source/blender/imbuf/intern/scaling.c
parentf0b872e7f147365f673d5cc4ea045417a4891211 (diff)
Function IMB_onehalf was not freeing memory.
(Used for icon mipmap)
Diffstat (limited to 'source/blender/imbuf/intern/scaling.c')
-rw-r--r--source/blender/imbuf/intern/scaling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c
index 1e701b8d615..af51b4448aa 100644
--- a/source/blender/imbuf/intern/scaling.c
+++ b/source/blender/imbuf/intern/scaling.c
@@ -360,6 +360,8 @@ ImBuf *IMB_onehalf(struct ImBuf *ibuf1)
imb_onehalf_no_alloc(ibuf2, ibuf1);
+ IMB_freeImBuf(ibuf1);
+
return (ibuf2);
}