summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r--ext/soap/php_sdl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c
index 4d727b3e67..a014acfa34 100644
--- a/ext/soap/php_sdl.c
+++ b/ext/soap/php_sdl.c
@@ -988,6 +988,14 @@ void delete_sdl(void *handle)
zend_hash_destroy(tmp->elements);
free(tmp->elements);
}
+ if (tmp->attributes) {
+ zend_hash_destroy(tmp->attributes);
+ free(tmp->attributes);
+ }
+ if (tmp->attributeGroups) {
+ zend_hash_destroy(tmp->attributeGroups);
+ free(tmp->attributeGroups);
+ }
if (tmp->bindings) {
zend_hash_destroy(tmp->bindings);
free(tmp->bindings);