Re: [PHP4BETA] cvs: /php4/ext/hyperwave hw.c hg_comm.c
| From: | Thies C. Arntzen | Date: | Wed, 06 Oct 1999 06:06:49 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/hyperwave hw.c hg_comm.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5221@lists.php.net to get a copy of this message | ||
snip...
> + }
> + if(NULL == sarr){
> + spec_arr->refcount--;
> + zend_hash_destroy(spec_arr->value.ht);
> + efree(spec_arr->value.ht);
> + efree(spec_arr);
snip...
if (!sarr) {
zval_dtor(spec_arr);
efree(spec_arr);
}
would have done the job...
regards,
tc