fix memory leak

This commit is contained in:
Ricky Su 2015-09-11 15:14:07 +08:00
parent d9a7deab9a
commit 292b082c78

View file

@ -30,6 +30,7 @@ void str_array_free(str_array *l) {
zfree(l->tokens[i]);
}
}
zfree(l->tokens);
zfree(l);
}