assert(entry);

This commit is contained in:
c9s 2014-06-01 01:26:59 +08:00
parent 4f93a530e1
commit 4bb3ba9d04

View file

@ -27,6 +27,7 @@ match_entry * match_entry_createl(const char * path, int path_len) {
} }
void match_entry_free(match_entry * entry) { void match_entry_free(match_entry * entry) {
assert(entry);
if (entry->vars) { if (entry->vars) {
str_array_free(entry->vars); str_array_free(entry->vars);
} }