File 12495.patch of Package squid

---------------------
PatchSet 12495 
Date: 2009/06/25 22:58:37
Author: hno
Branch: SQUID_2_7
Tag: (none) 
Log:
MFC: Bug #2691: store_url memory leak

Members: 
	src/store.c:1.584.2.7->1.584.2.8 

Index: squid/src/store.c
===================================================================
RCS file: /cvsroot/squid/squid/src/store.c,v
retrieving revision 1.584.2.7
retrieving revision 1.584.2.8
diff -u -r1.584.2.7 -r1.584.2.8
--- squid/src/store.c	6 Oct 2008 21:26:42 -0000	1.584.2.7
+++ squid/src/store.c	25 Jun 2009 22:58:37 -0000	1.584.2.8
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.c,v 1.584.2.7 2008/10/06 21:26:42 hno Exp $
+ * $Id: store.c,v 1.584.2.8 2009/06/25 22:58:37 hno Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -196,6 +196,7 @@
     mem->request = NULL;
     ctx_exit(ctx);		/* must exit before we free mem->url */
     safe_free(mem->url);
+    safe_free(mem->store_url);
     safe_free(mem->vary_headers);
     safe_free(mem->vary_encoding);
     memFree(mem, MEM_MEMOBJECT);
openSUSE Build Service is sponsored by