reftests: Plug a leak

This commit is contained in:
Benjamin Otte 2011-05-05 04:27:38 +02:00
parent 9f47d388f2
commit 5c026f32e9

View File

@ -243,6 +243,7 @@ snapshot_widget (GtkWidget *widget, SnapshotMode mode)
}
cairo_destroy (cr);
g_main_loop_unref (loop);
gtk_widget_destroy (widget);
return surface;