diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-07-03 16:02:35 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-07-03 16:02:35 +0000 |
commit | 30bb8bfdf3d7b63af0494e3e35f7fc2c19e5a116 (patch) | |
tree | 9a041b22eae6744cc446ac40f5ad9abfa9384e89 | |
parent | 35d66ed753a4982189938bf002c60f03e84b3a71 (diff) |
2006-07-04 Akira TAGOH <at@gclab.org>
* devices/cairo/cairo-xlib-main.c (device_close): fixed a memory leak.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | devices/cairo/cairo-xlib-main.c | 2 | ||||
-rw-r--r-- | hieroglyph/version.h.in | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-07-04 Akira TAGOH <at@gclab.org> + + * devices/cairo/cairo-xlib-main.c (device_close): fixed a memory leak. + 2006-07-01 Akira TAGOH <at@gclab.org> * TODO: add an item. diff --git a/devices/cairo/cairo-xlib-main.c b/devices/cairo/cairo-xlib-main.c index a272d38..29dfe5a 100644 --- a/devices/cairo/cairo-xlib-main.c +++ b/devices/cairo/cairo-xlib-main.c @@ -109,4 +109,6 @@ device_close(HgDevice *device) cairo_surface_destroy(cdev->surface); XDestroyWindow(cdev->u.xlib.dpy, cdev->u.xlib.drawable); XCloseDisplay(cdev->u.xlib.dpy); + + g_free(device); } diff --git a/hieroglyph/version.h.in b/hieroglyph/version.h.in index b6b0a56..f157ca8 100644 --- a/hieroglyph/version.h.in +++ b/hieroglyph/version.h.in @@ -29,7 +29,7 @@ G_BEGIN_DECLS #define HIEROGLYPH_VERSION "@VERSION@" -#define HIEROGLYPH_UUID "a9cb7290-5a64-4b12-bf2c-95c5d68fca5d" +#define HIEROGLYPH_UUID "6ff2ca16-f9a0-4ba8-b669-7455d9c4b846" const char *__hg_rcsid G_GNUC_UNUSED = "$Rev$"; |