projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3230a19
)
remove a leak in make_palette()
author
Tony Cook
<tony@develop-help.com>
Sun, 21 Feb 2016 02:28:03 +0000
(13:28 +1100)
committer
Tony Cook
<tony@develop-help.com>
Sun, 21 Feb 2016 02:28:03 +0000
(13:28 +1100)
The XS leaked the temp image array (not the images themselves) used
to pass the images to i_quant_makemap()
Imager.xs
patch
|
blob
|
blame
|
history
diff --git
a/Imager.xs
b/Imager.xs
index e16b42dd915276b4eca50b556dd1310a03ed8ed4..ae2e86598bb5566f395cc56f8eb5ad809d4b3f99 100644
(file)
--- a/
Imager.xs
+++ b/
Imager.xs
@@
-3205,6
+3205,7
@@
i_img_make_palette(HV *quant_hv, ...)
PUSHs(sv_c);
}
ip_cleanup_quant_opts(aTHX_ &quant);
+ myfree(imgs);
void