diff options
-rw-r--r-- | src/stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c index 44ac1b4..9e5d805 100644 --- a/src/stream.c +++ b/src/stream.c @@ -103,6 +103,7 @@ static int determine_sctp_sockopt_event_subscribe_size(void) return sd; rc = getsockopt(sd, IPPROTO_SCTP, SCTP_EVENTS, buf, &buf_len); + close(sd); if (rc < 0) return rc; |