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:
@ -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);
|
||||
}
|
||||
|
||||
/******************************************************
|
||||
|
||||
Reference in New Issue
Block a user