summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-24 19:36:30 -0400
committerGitHub <noreply@github.com>2017-10-24 19:36:30 -0400
commitb5b583aa8d9318a36a89129b08dee7f9fdedcf68 (patch)
tree55ddd237d50698bc0a53a42b41def519b337c935 /lib/hash.c
parent47473bbbc7cc919eace33812419c0eb76e4cda68 (diff)
parentb11b57723b963fb5d0ab11748b7957f0b7fa5d37 (diff)
Merge pull request #1357 from opensourcerouting/coverity_fixes
Coverity fixes
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hash.c b/lib/hash.c
index f222279216..4894b65aff 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -395,6 +395,7 @@ DEFUN_NOSH(show_hash_stats,
pthread_mutex_lock(&_hashes_mtx);
if (!_hashes) {
pthread_mutex_unlock(&_hashes_mtx);
+ ttable_del(tt);
vty_out(vty, "No hash tables in use.\n");
return CMD_SUCCESS;
}