diff options
author | Anatol Belski <ab@php.net> | 2016-06-21 15:21:58 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-06-21 19:10:02 +0200 |
commit | 03106e8c5e1a59e79891d9b45b5d3f1f326116d4 (patch) | |
tree | 442cd75bf7c011f15010a13ebe14d5df43e106ec | |
parent | a21202a604d5692a385a83f677b9f38b75664ce1 (diff) | |
download | php-git-03106e8c5e1a59e79891d9b45b5d3f1f326116d4.tar.gz |
re-fix leak
-rw-r--r-- | ext/wddx/wddx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 34b8eeb87f..2cc3c8b9cf 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -784,6 +784,7 @@ static void php_wddx_push_element(void *user_data, const XML_Char *name, const X if (atts) for (i = 0; atts[i]; i++) { if (!strcmp((char *)atts[i], EL_NAME) && atts[++i] && atts[i][0]) { + if (stack->varname) efree(stack->varname); stack->varname = estrdup((char *)atts[i]); break; } |