X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_object.c;h=74dbe4f18d8a5be8a6e2951894d1ac1a6f71081f;hb=5977bd2facb8a842b3ca3ee677b8014407e75941;hp=c7d19c211517c16afaf4e8b868e7884603837f87;hpb=c8786ae961087abe56f42b49d64dd73ba6411fdd;p=m6w6%2Fext-http diff --git a/http_request_object.c b/http_request_object.c index c7d19c2..74dbe4f 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -629,7 +629,7 @@ STATUS _http_request_object_responsehandler(http_request_object *obj, zval *this _http_request_object_set_options_subr(INTERNAL_FUNCTION_PARAM_PASSTHRU, (key), sizeof(key), (ow)) static inline void _http_request_object_set_options_subr(INTERNAL_FUNCTION_PARAMETERS, char *key, size_t len, int overwrite) { - zval *old_opts, *new_opts, *opts, **entry; + zval *old_opts, *new_opts, *opts = NULL, **entry; getObject(http_request_object, obj); if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a/!", &opts)) {