diff options
author | Kjell Winblad <kjellwinblad@gmail.com> | 2021-03-17 15:39:54 +0100 |
---|---|---|
committer | Kjell Winblad <kjellwinblad@gmail.com> | 2021-04-06 11:44:34 +0200 |
commit | b55062101c3f1aa2cdc277fffc9fe95b6447e736 (patch) | |
tree | e9f87598aa8a205fee04b4728e15aadd2f1974c4 | |
parent | 28a3ef1307ac56449ec8e28ffc6b8e7c74c3a3f2 (diff) | |
download | erlang-b55062101c3f1aa2cdc277fffc9fe95b6447e736.tar.gz |
inet_gethost.c: code_checker fix potential memory leak warning
-rw-r--r-- | erts/etc/common/inet_gethost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c index 0e4ec402ab..54825219b4 100644 --- a/erts/etc/common/inet_gethost.c +++ b/erts/etc/common/inet_gethost.c @@ -1980,10 +1980,10 @@ static int worker_loop(void) } close_mesq(readfrom); close_mesq(writeto); +#endif if (reply) { FREE(reply); } -#endif return 1; } |