mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01: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:
parent
723ac89b0c
commit
d57f3e0a9b
@ -247,6 +247,7 @@ change_step (gpointer user_data)
|
||||
g_assert_no_error (error);
|
||||
g_output_stream_close (stream, NULL, &error);
|
||||
g_assert_no_error (error);
|
||||
g_object_unref (stream);
|
||||
break;
|
||||
case 2:
|
||||
record_event (data, -1, NULL, NULL, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user