- 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 379d37592dcf91881eb31ed906f8e1480dffb40f..45be49b489774b604eaa61666695941cfa2ad7de 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