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:
Philip Withnall 2018-02-26 20:03:02 +00:00
parent 723ac89b0c
commit d57f3e0a9b

View File

@ -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);