Check to see if request->path is actually allocated before trying to free

it.
This commit is contained in:
Robert James Kaes committed 2002-04-25 19:20:56 +00:00
1 parent 284def7321
commit 6992c74bba
2 files changed
+10 -2

No files matched your search

+2
View File
@@ -2,6 +2,8 @@
* src/reqs.c (remove_connection_headers): Handle both the
Connection header _and_ the Proxy-Connection header.
(free_request_struct): Check to see if request->path is actually
allocated before trying to delete it.
* src/hashmap.c: The hashmap will now handle multiple keys with
the same value. This change was need because some sites like