Fixed a bug that would kill a child process because of an invalid

safefree() call.  Basically, destroy_conn() was trying to free memory
not allocated by malloc.  [Fix by David T. Pierson]
This commit is contained in:
Robert James Kaes committed 2003-05-04 04:35:10 +00:00
1 parent 65115c75c8
commit ac88af1f71
2 files changed
+4 -5

No files matched your search

+2 -3
View File
@@ -1,4 +1,4 @@
/* $Id: conns.h,v 1.13 2003-04-16 16:37:58 rjkaes Exp $
/* $Id: conns.h,v 1.14 2003-05-04 04:35:10 rjkaes Exp $
*
* See 'conns.c' for a detailed description.
*
@@ -40,8 +40,7 @@ struct conn_s {
/*
* Store the error response if there is one.
* This structure stores key -> value mappings for substitution
* in the error HTML files. a NULL pointer indicates the end of
* the array
* in the error HTML files.
*/
struct error_variable_s {
char *error_key;