Update zookeeper.c

memory leak