forked from AuroraMiddleware/gtk
reftests: Plug a leak
This commit is contained in:
parent
9f47d388f2
commit
5c026f32e9
@ -243,6 +243,7 @@ snapshot_widget (GtkWidget *widget, SnapshotMode mode)
|
||||
}
|
||||
|
||||
cairo_destroy (cr);
|
||||
g_main_loop_unref (loop);
|
||||
gtk_widget_destroy (widget);
|
||||
|
||||
return surface;
|
||||
|
Loading…
Reference in New Issue
Block a user