shash: Don't free block we didn't allocate in shash_destroy().
authorBen Pfaff <blp@nicira.com>
Fri, 6 Mar 2009 21:58:47 +0000 (13:58 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Mar 2009 21:58:47 +0000 (13:58 -0800)
lib/shash.c

index a6a2d7b12a59035c7aa40d2bd345e06844bc34da..844858880acd18d78b4189fad3bbc9493dedffd9 100644 (file)
@@ -53,7 +53,6 @@ shash_destroy(struct shash *sh)
 {
     if (sh) {
         shash_clear(sh);
-        free(sh);
     }
 }