must use g_object_unref instead of g_free for GdkPixbuf
gdl_dock_object_finalize
calls g_free
on a GdkPixbuf
pointer. This can lead to double-free since GdkPixbuf
derives from GObject
and is reference counted, thus must be released with g_object_unref
.