From 4bb3ba9d041ef5283d61dcd9a7bb98a50514ba4f Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 1 Jun 2014 01:26:59 +0800 Subject: [PATCH] assert(entry); --- src/match_entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/match_entry.c b/src/match_entry.c index 4adc4cf..7c441a0 100644 --- a/src/match_entry.c +++ b/src/match_entry.c @@ -27,6 +27,7 @@ match_entry * match_entry_createl(const char * path, int path_len) { } void match_entry_free(match_entry * entry) { + assert(entry); if (entry->vars) { str_array_free(entry->vars); }