From: Ben Pfaff Date: Fri, 6 Mar 2009 21:58:47 +0000 (-0800) Subject: shash: Don't free block we didn't allocate in shash_destroy(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f0e6043279e4c587c9cfcd83ad561b02bff8889;p=openvswitch shash: Don't free block we didn't allocate in shash_destroy(). --- diff --git a/lib/shash.c b/lib/shash.c index a6a2d7b1..84485888 100644 --- a/lib/shash.c +++ b/lib/shash.c @@ -53,7 +53,6 @@ shash_destroy(struct shash *sh) { if (sh) { shash_clear(sh); - free(sh); } }