summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/wddx/wddx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 2d68406be9..bf0bcaad06 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -1051,6 +1051,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;