projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e265bc
)
combine() - was leaking malloc()ed row buffers
author
Tony Cook
<tony@develop-help.com>
Tue, 23 Feb 2016 10:57:21 +0000
(21:57 +1100)
committer
Tony Cook
<tony@develop-help.com>
Tue, 23 Feb 2016 10:57:21 +0000
(21:57 +1100)
combine.im
patch
|
blob
|
blame
|
history
diff --git
a/combine.im
b/combine.im
index 37e174d3402cd0c69735148137406e04db5da97f..b13a94109d1ad8fcd15e99b2c2bba38347752b6b 100644
(file)
--- a/
combine.im
+++ b/
combine.im
@@
-75,6
+75,8
@@
i_combine(i_img **imgs, const int *channels, int in_count) {
}
IM_PLIN(out, 0, width, y, out_row);
}
+ myfree(out_row);
+ myfree(in_row);
#/code
return out;