Introduction
Introduction Statistics Contact Development Disclaimer Help
Only free ahost if the reverse lookup was performed - geomyidae - A small C-bas…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit f26ccad8ca8d0f79f7195f6871bb2ceac816ccfa
parent 03a382fe95dfeb696629733bbb5a9a751df1b3aa
Author: Lucas Gabriel Vuotto <[email protected]>
Date: Tue, 23 Jan 2018 16:02:23 -0300
Only free ahost if the reverse lookup was performed
Signed-off-by: Lucas Gabriel Vuotto <[email protected]>
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -99,7 +99,8 @@ logentry(char *host, char *port, char *qry, char *status)
dprintf(glfd, "[%s|%s|%s|%s] %s\n",
timstr, ahost, port, status, qry);
- free(ahost);
+ if (revlookup)
+ free(ahost);
}
return;
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.