summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysif.c b/sysif.c
index 058cc407..2c8bc6b0 100644
--- a/sysif.c
+++ b/sysif.c
@@ -1494,7 +1494,6 @@ static val poll_wrap(val poll_list, val timeout_in)
if (typep(obj, stream_s)) {
val fdval = stream_fd(obj);
if (!fdval) {
- free(pfd);
uw_throwf(file_error_s,
lit("poll: stream ~s doesn't have a file descriptor"),
obj, nao);
@@ -1504,7 +1503,6 @@ static val poll_wrap(val poll_list, val timeout_in)
}
/* fallthrough */
default:
- free(pfd);
uw_throwf(file_error_s,
lit("poll: ~s isn't a stream or file descriptor"),
obj, nao);