summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sndiod/listen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/sndiod/listen.c b/usr.bin/sndiod/listen.c
index 0c47cfdff27..577518c80df 100644
--- a/usr.bin/sndiod/listen.c
+++ b/usr.bin/sndiod/listen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: listen.c,v 1.8 2016/01/08 13:14:11 ratchov Exp $ */
+/* $OpenBSD: listen.c,v 1.9 2016/01/08 13:28:08 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -69,7 +69,6 @@ listen_close(struct listen *f)
*pf = f->next;
if (f->path != NULL) {
- unlink(f->path);
xfree(f->path);
}
file_del(f->file);