Skip to content
Snippets Groups Projects
Commit 0d5bd6c8 authored by Simon McVittie's avatar Simon McVittie
Browse files

Revert "_GLNX_TEST_SCOPED_TEMP_DIR: Fix memory and fd leak"


This accidentally requires GLib 2.36.

This reverts commit a652ede2.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 71c00088
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include <errno.h> #include <errno.h>
#include <glib/gstdio.h>
#include "libglnx.h" #include "libglnx.h"
struct _GLnxTestAutoTempDir struct _GLnxTestAutoTempDir
...@@ -65,10 +63,4 @@ _glnx_test_auto_temp_dir_leave (_GLnxTestAutoTempDir *dir) ...@@ -65,10 +63,4 @@ _glnx_test_auto_temp_dir_leave (_GLnxTestAutoTempDir *dir)
glnx_tmpdir_delete (&dir->temp_dir, NULL, &error); glnx_tmpdir_delete (&dir->temp_dir, NULL, &error);
g_assert_no_error (error); g_assert_no_error (error);
g_close (dir->old_cwd_fd, &error);
g_assert_no_error (error);
g_free (dir->old_cwd);
g_free (dir);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment