Skip to content

Commit

Permalink
conntrack: Free conntrack context in 'conntrack_destroy()'.
Browse files Browse the repository at this point in the history
Fixes: 57593fd ( conntrack: Stop exporting internal datastructures.)
Signed-off-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
  • Loading branch information
darball1 authored and blp committed May 6, 2019
1 parent 57593fd commit 21ffe40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/conntrack.c
Expand Up @@ -391,6 +391,7 @@ conntrack_destroy(struct conntrack *ct)
ct_rwlock_unlock(&ct->resources_lock);
ct_rwlock_destroy(&ct->resources_lock);
ipf_destroy(ct->ipf);
free(ct);
}

static unsigned hash_to_bucket(uint32_t hash)
Expand Down

0 comments on commit 21ffe40

Please sign in to comment.