thunderbolt: Fix GCancellable leak
This commit is contained in:
parent
48143b4f92
commit
42c8e63b1e
1 changed files with 1 additions and 0 deletions
|
@ -900,6 +900,7 @@ cc_bolt_panel_dispose (GObject *object)
|
|||
|
||||
/* cancel any ongoing operation */
|
||||
g_cancellable_cancel (panel->cancel);
|
||||
g_clear_object (&panel->cancel);
|
||||
|
||||
/* Must be destroyed in dispose, not finalize. */
|
||||
g_clear_pointer ((GtkWidget **) &panel->device_dialog, gtk_widget_destroy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue