- clean previous response
authorMichael Wallner <mike@php.net>
Fri, 22 Jul 2005 13:48:22 +0000 (13:48 +0000)
committerMichael Wallner <mike@php.net>
Fri, 22 Jul 2005 13:48:22 +0000 (13:48 +0000)
http_request_object.c

index c324240d7ec9faab93dd521fd05850eb088f1ef9..4fcddabcb82d37c8cd8706f5a2d17bd0c282c60b 100644 (file)
@@ -391,6 +391,9 @@ STATUS _http_request_object_requesthandler(http_request_object *obj, zval *this_
                break;
        }
 
+       /* clean previous response */
+       phpstr_dtor(&obj->response);
+
        efree(request_uri);
        return status;
 }