[glib: 7/10] tests: Fix a memory leak in the fileutils test
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 7/10] tests: Fix a memory leak in the fileutils test
- Date: Sun, 20 Feb 2022 12:09:02 +0000 (UTC)
commit a389227fb9a5d0f37e8c470c5a908c5f7bacae76
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri Feb 18 02:33:57 2022 +0000
tests: Fix a memory leak in the fileutils test
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/tests/fileutils.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/glib/tests/fileutils.c b/glib/tests/fileutils.c
index 7083cf204..75cac3839 100644
--- a/glib/tests/fileutils.c
+++ b/glib/tests/fileutils.c
@@ -1169,6 +1169,7 @@ test_file_test (void)
/* Cleaning */
g_remove (name);
+ g_free (name);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]