projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XEmacs 21.2-b2
[chise/xemacs-chise.git.1]
/
src
/
glyphs-msw.c
diff --git
a/src/glyphs-msw.c
b/src/glyphs-msw.c
index
6ee899e
..
ddb16d4
100644
(file)
--- a/
src/glyphs-msw.c
+++ b/
src/glyphs-msw.c
@@
-521,6
+521,8
@@
mswindows_create_resized_bitmap (struct Lisp_Image_Instance* ii,
IMAGE_INSTANCE_PIXMAP_HEIGHT (ii),
SRCCOPY))
{
+ DeleteObject (newbmp);
+ DeleteDC (hdcDst);
return 0;
}
@@
-553,6
+555,8
@@
mswindows_create_resized_mask (struct Lisp_Image_Instance* ii,
IMAGE_INSTANCE_PIXMAP_HEIGHT (ii),
SRCCOPY))
{
+ DeleteObject (newmask);
+ DeleteDC (hdcDst);
return NULL;
}