diff --git a/php_zookeeper.c b/php_zookeeper.c index bf019da..f7a5e9f 100644 --- a/php_zookeeper.c +++ b/php_zookeeper.c @@ -292,6 +292,7 @@ static PHP_METHOD(Zookeeper, getChildren) for (i = 0; i < strings.count; i++) { add_next_index_string(return_value, strings.data[i], 1); } + deallocate_String_vector(&strings); } /* }}} */