aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-05 15:27:51 +0100
committerdefault <nobody@localhost>2025-01-05 15:27:51 +0100
commitd479352548e05c057df3d6fe191a4c438be41b0e (patch)
tree17cfa29e75703d573603ef08848280ec9cb9d0ee
parent80ba62eefb002f9d7df76bb6caca775e8f8a66a5 (diff)
Fixed crash in sandbox code under OpenBSD.
-rw-r--r--sandbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index f6f8d67..e579f70 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -126,7 +126,6 @@ void sbox_enter(const char *basedir)
pledge(p, NULL);
- xs_free(p);
#elif defined (__linux__)
if (sbox_enter_linux_(basedir, address, smail) == 0)