Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 16/04/2010 at 00:31:06 Revision: 4300 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Do not pointlessly cast the pointer passed to free(). Modified: M test/hashtest.c === modified file 'test/hashtest.c' --- test/hashtest.c 2010-04-15 20:47:19 +0000 +++ test/hashtest.c 2010-04-15 21:30:33 +0000 @@ -123,7 +123,7 @@ // if (atomic_read(&item->refcnt) > 2) // HIP_ERROR("socketdb: %p, in use while removing it from socketdb\n", item); //hip_socketdb_put_entry(item); - free((void *) list_entry(item)); + free(list_entry(item)); } //}