projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a04ce
)
Fixed missing myfree() in bmp.c.
author
Arnar Mar Hrafnkelsson
<addi@cpan.org>
Fri, 2 Nov 2001 12:01:47 +0000
(12:01 +0000)
committer
Arnar Mar Hrafnkelsson
<addi@cpan.org>
Fri, 2 Nov 2001 12:01:47 +0000
(12:01 +0000)
bmp.c
patch
|
blob
|
blame
|
history
diff --git
a/bmp.c
b/bmp.c
index 6c9faea65587072c35cce7573310b6dff9db76cf..fdc542cc5e20c89713a8969c9d24ce241227a916 100644
(file)
--- a/
bmp.c
+++ b/
bmp.c
@@
-654,6
+654,8
@@
read_1bit_bmp(io_glue *ig, int xsize, int ysize, int clr_used) {
y += yinc;
}
+ myfree(packed);
+ myfree(line);
return im;
}
@@
-726,6
+728,8
@@
read_4bit_bmp(io_glue *ig, int xsize, int ysize, int clr_used,
i_ppal(im, 0, xsize, y, line);
y += yinc;
}
+ myfree(packed);
+ myfree(line);
}
else if (compression == BI_RLE4) {
int read_size;