]> git.imager.perl.org - imager.git/commitdiff
Missing myfree() in the default path of bmp loading.
authorArnar Mar Hrafnkelsson <addi@cpan.org>
Thu, 1 Nov 2001 15:02:59 +0000 (15:02 +0000)
committerArnar Mar Hrafnkelsson <addi@cpan.org>
Thu, 1 Nov 2001 15:02:59 +0000 (15:02 +0000)
bmp.c

diff --git a/bmp.c b/bmp.c
index 5d99d20717abc057ae68669e49386a5afaad081b..6c9faea65587072c35cce7573310b6dff9db76cf 100644 (file)
--- a/bmp.c
+++ b/bmp.c
@@ -861,6 +861,7 @@ read_8bit_bmp(io_glue *ig, int xsize, int ysize, int clr_used,
       i_ppal(im, 0, xsize, y, line);
       y += yinc;
     }
+    myfree(line);
   }
   else if (compression == BI_RLE8) {
     int read_size;