Fixed memleak of code zval