From 38b74a2e477e6caeaea9a104f82983b8112df9c4 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 5 Aug 2000 19:29:39 +0000 Subject: [PATCH] (run_mac_command, closedir): Use `xfree' instead of `free'. --- src/sysdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index c4f9991af45..dc70bb8fb7c 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -6729,8 +6729,7 @@ opendir (const char *dirname) int closedir (DIR *dp) { - free (dp); - + xfree (dp); return 0; } -- 2.39.2