X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fshash.c;h=da33fe8b6fab4b994ffc2c0ee3793c56f171cf7c;hb=b3080599f6b280c63b9b6f4ca2d3c6006bcd9590;hp=7bb8cd70b9bb59e12a18bf57e9c42bb1af329f37;hpb=8fef8c7121222233075a03d57db7e0b48d5f6be5;p=openvswitch diff --git a/lib/shash.c b/lib/shash.c index 7bb8cd70..da33fe8b 100644 --- a/lib/shash.c +++ b/lib/shash.c @@ -36,6 +36,7 @@ shash_destroy(struct shash *sh) { if (sh) { shash_clear(sh); + hmap_destroy(&sh->map); } }