]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Memory leak when using ident_lookup_access. The temporary ident
authorwessels <>
Tue, 13 Dec 2005 00:51:23 +0000 (00:51 +0000)
committerwessels <>
Tue, 13 Dec 2005 00:51:23 +0000 (00:51 +0000)
hash table key was not freed.

src/ident.cc

index b9df7baab1fdb38f6d42af63a6a477fccd62a21c..854900ff6917954da21af8dc84e65088fb54b976 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ident.cc,v 1.72 2005/09/17 05:50:08 wessels Exp $
+ * $Id: ident.cc,v 1.73 2005/12/12 17:51:23 wessels Exp $
  *
  * DEBUG: section 30    Ident (RFC 931)
  * AUTHOR: Duane Wessels
@@ -99,6 +99,7 @@ identClose(int fdnotused, void *data)
     identCallback(state, NULL);
     comm_close(state->fd);
     hash_remove_link(ident_hash, (hash_link *) state);
+    xfree(state->hash.key);
     cbdataFree(state);
 }