tFree bindips after use. - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log
Files
Refs
README
LICENSE
---
commit 206c57aca0611bef65a365710aaef32529634b5c
parent 60f33bbe3b6c58d451dad69933c1eb8b36cf3997
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 11 Nov 2018 13:05:42 +0100

Free bindips after use.

Diffstat:
  main.c                              |       3 +++

1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/main.c b/main.c
t@@ -586,6 +586,9 @@ main(int argc, char *argv[])
                 if (lfdret != NULL)
                         free(lfdret);
         }
+        if (bindips != NULL)
+                free(bindips);
+
         if (nlistfds < 1)
                 return 1;