Browse Source

Really fix the de-allocation.

PHP-4.0.5
Andrei Zmievski 26 years ago
parent
commit
09ac5ed748
  1. 1
      ext/wddx/wddx.c

1
ext/wddx/wddx.c

@ -746,6 +746,7 @@ static void php_wddx_pop_element(void *user_data, const char *name)
unsigned char *new_str;
new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len);
STR_FREE(Z_STRVAL_P(ent1->data));
Z_STRVAL_P(ent1->data) = new_str;
Z_STRLEN_P(ent1->data) = new_len;
}

Loading…
Cancel
Save