From 93b12f5fbdbd035d9aaa7f691cc7aefda2e2e06d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 7 Oct 1999 20:21:55 +0000 Subject: [PATCH] (ns_globals_struct): remove content_type member (php_ns_request_dtor): remove content_type destructor, re-add path_translated destructor --- sapi/aolserver/aolserver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c index 959dcd8aec..125a810454 100644 --- a/sapi/aolserver/aolserver.c +++ b/sapi/aolserver/aolserver.c @@ -68,7 +68,6 @@ typedef struct { typedef struct { Ns_Conn *conn; - Ns_DString content_type; } ns_globals_struct; static void php_ns_config(php_ns_context *ctx); @@ -306,7 +305,7 @@ php_ns_request_ctor(NSLS_D SLS_DC) static void php_ns_request_dtor(NSLS_D SLS_DC) { - Ns_DStringFree(&NSG(content_type)); + free(SG(request_info).path_translated); } /* -- 2.50.1