diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/aucat/wav.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c index cb28bb290a4..d901ad3f927 100644 --- a/usr.bin/aucat/wav.c +++ b/usr.bin/aucat/wav.c @@ -699,6 +699,7 @@ wav_new_in(struct fileops *ops, #endif close(fd); dev_unref(dev); + return NULL; } f->dev = dev; if (hdr == HDR_WAV) { @@ -787,6 +788,7 @@ wav_new_out(struct fileops *ops, #endif close(fd); dev_unref(dev); + return NULL; } f->dev = dev; if (hdr == HDR_WAV) { |