Skip to content

Commit

Permalink
listener: fix leaking listener after nng_listener_close
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 8, 2024
1 parent ff1ee2b commit 75ce7e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nng.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ nng_listener_close(nng_listener lid)
return (rv);
}
nni_listener_close(l);
nni_listener_rele(l);
return (0);
}

Expand Down

0 comments on commit 75ce7e8

Please sign in to comment.