- don't free twice
authorMichael Wallner <mike@php.net>
Tue, 19 Jun 2007 20:42:11 +0000 (20:42 +0000)
committerMichael Wallner <mike@php.net>
Tue, 19 Jun 2007 20:42:11 +0000 (20:42 +0000)
http_message_object.c

index 379d375..45be49b 100644 (file)
@@ -1282,7 +1282,6 @@ PHP_METHOD(HttpMessage, toMessageTypeObject)
                                                zval_copy_ctor(&body);
                                                sapi_module.treat_data(PARSE_STRING, Z_STRVAL(body), &post TSRMLS_CC);
                                                zend_call_method_with_1_params(&return_value, http_request_object_ce, NULL, "setpostfields", NULL, &post);
-                                               zval_dtor(&body);
                                        }
                                }
 #else