fixed a memory leak in nmblookup
authorAndrew Tridgell <tridge@samba.org>
Tue, 25 Apr 2000 00:46:46 +0000 (00:46 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 25 Apr 2000 00:46:46 +0000 (00:46 +0000)
source/utils/nmblookup.c

index 8e26a206ca26ea188c4792f7eea27945e04a8bc3..546d2f0e15b3cd839c26374b22c7ffec2dfcc1d4 100644 (file)
@@ -130,6 +130,8 @@ static BOOL query_one(char *lookup, unsigned int lookup_type)
                printf("\n");
        }
 
+       safe_free(ip_list);
+
        return (ip_list != NULL);
 }