diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-01-08 13:28:09 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-01-08 13:28:09 +0000 |
commit | d0eb9817c079612200a0ed714cf2adcbc3ff453f (patch) | |
tree | 52ba5200b79980ca3546b6f6b386d75088195383 | |
parent | 139ebee5274c604ec48ddf9a6419afda3db140d4 (diff) |
don't call unlink() to delete socket as this would require cpath
-rw-r--r-- | usr.bin/sndiod/listen.c | 3 |
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); |