[glib: 4/5] tests: Fix a memory leak when abandoning a file creation time test
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/5] tests: Fix a memory leak when abandoning a file creation time test
- Date: Fri, 27 May 2022 17:01:23 +0000 (UTC)
commit 18c0088678a2b0f794c76018057f466f05fad5aa
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri May 27 17:09:31 2022 +0100
tests: Fix a memory leak when abandoning a file creation time test
Signed-off-by: Philip Withnall <pwithnall endlessos org>
gio/tests/g-file-info.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gio/tests/g-file-info.c b/gio/tests/g-file-info.c
index 8a93353b37..d97b78b716 100644
--- a/gio/tests/g-file-info.c
+++ b/gio/tests/g-file-info.c
@@ -409,6 +409,7 @@ test_g_file_info_creation_time (void)
if (!dt)
{
g_test_skip ("Skipping testing creation time as it’s not supported by the kernel");
+ g_clear_object (&io_stream);
g_file_delete (file, NULL, NULL);
g_clear_object (&file);
g_clear_object (&info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]