Don't leak built-in cursors.

2001-01-23    <alexl@redhat.com>

        * linux-fb/gdkcursor-fb.c:
	Don't leak built-in cursors.

	* linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_polygon):
	Don't leak tmp_points.

	* linux-fb/gdkfont-fb.c (gdk_font_from_description):
	Don't modify desc. Don't leak font if the PangoFont
	isn't found.

	* linux-fb/gdkgc-fb.c (gdk_fb_gc_finalize):
	Free dash_list.

	* linux-fb/gdkkeyboard-fb.c (gdk_fb_handle_key):
	Don't leak string.
This commit is contained in:
3
2001-01-23 14:37:54 +00:00
committed by Alexander Larsson
parent 18742b1dc3
commit c181cd8efc
12 changed files with 162 additions and 21 deletions

View File

@ -386,6 +386,8 @@ gdk_fb_handle_key (guint hw_keycode,
event->key.hardware_keycode = hw_keycode;
event->key.group = group;
}
else
g_free (string);
}
/******************************************************