@-Fixed possible crash in request-shutdown. (Thies)

(pvalue_config_destructor) gets a zval* not a zval**
This commit is contained in:
Thies C. Arntzen 2000-02-24 13:39:36 +00:00
parent d64c1652e2
commit 4a37c618e6

View File

@ -124,12 +124,11 @@ static void yyerror(char *str)
}
static void pvalue_config_destructor(zval **pvalue)
static void pvalue_config_destructor(zval *pvalue)
{
if ((*pvalue)->type == IS_STRING && (*pvalue)->value.str.val != empty_string) {
free((*pvalue)->value.str.val);
if (pvalue->type == IS_STRING && pvalue->value.str.val != empty_string) {
free(pvalue->value.str.val);
}
free(*pvalue);
}