mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
tests: Fix a minor memory leak in the GFileMonitor tests
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=755721
This commit is contained in:
@@ -247,6 +247,7 @@ change_step (gpointer user_data)
|
|||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
g_output_stream_close (stream, NULL, &error);
|
g_output_stream_close (stream, NULL, &error);
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
|
g_object_unref (stream);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
record_event (data, -1, NULL, NULL, 2);
|
record_event (data, -1, NULL, NULL, 2);
|
||||||
|
Reference in New Issue
Block a user