diff options
-rw-r--r-- | src/common/container.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/container.c b/src/common/container.c index 1e1fd985b..34ec1aa5e 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -50,6 +50,7 @@ smartlist_create(void) void smartlist_free(smartlist_t *sl) { + tor_assert(sl != NULL); tor_free(sl->list); tor_free(sl); } |