]> git.imager.perl.org - imager.git/commitdiff
oops, forgot to free the memory I allocated
authorTony Cook <tony@develop=help.com>
Sun, 6 May 2001 07:49:52 +0000 (07:49 +0000)
committerTony Cook <tony@develop=help.com>
Sun, 6 May 2001 07:49:52 +0000 (07:49 +0000)
image.c

diff --git a/image.c b/image.c
index a4c2b3091a15044128efa115dafb2eabae00bc15..767288f886cea060225883b4fd6fe43fbc5280f0 100644 (file)
--- a/image.c
+++ b/image.c
@@ -668,6 +668,7 @@ i_copy(i_img *im, i_img *src) {
     i_glin(src, 0, x1, y, pv);
     i_plin(im, 0, x1, y, pv);
   }
+  myfree(pv);
 }