diff options
author | Anatol Belski <ab@php.net> | 2016-08-17 11:51:56 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-08-17 11:51:56 +0200 |
commit | a5d00fc90861bdb828e1d8bd30c9ce915efeb246 (patch) | |
tree | 29121c4add844cceaa47009557f9efd9dc3d555e /ext/wddx | |
parent | 1dab8e07f2e14221f534202e7d0c03600b3259eb (diff) | |
download | php-git-a5d00fc90861bdb828e1d8bd30c9ce915efeb246.tar.gz |
fix leak
Diffstat (limited to 'ext/wddx')
-rw-r--r-- | ext/wddx/wddx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index b8b905d550..31dfef47cc 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -1055,6 +1055,8 @@ static void php_wddx_process_data(void *user_data, const XML_Char *s, int len) if (Z_LVAL(ent->data) == -1) { ZVAL_STRINGL(&ent->data, (char *)tmp, len); } + + efree(tmp); } break; |