summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-05-24 14:31:10 -0700
committerRuss Cox <rsc@golang.org>2010-05-24 14:31:10 -0700
commit191d7455af687328936f1295c1941e808706805a (patch)
tree48cb063d8c2200d44b568f99d23d0888cec6f7a4
parent4e14e021d938ede1b50b168cbd1459e4af983042 (diff)
downloadgolang-191d7455af687328936f1295c1941e808706805a.tar.gz
runtime: free old hashmap pieces during resizing
R=r CC=golang-dev http://codereview.appspot.com/1254044
-rw-r--r--src/pkg/runtime/hashmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/hashmap.h b/src/pkg/runtime/hashmap.h
index 06b98349b..906de4764 100644
--- a/src/pkg/runtime/hashmap.h
+++ b/src/pkg/runtime/hashmap.h
@@ -64,7 +64,6 @@
*/
#define malloc mal
-#define free(a) USED(a)
#define offsetof(s,m) (uint32)(&(((s*)0)->m))
#define memset(a,b,c) ·memclr((byte*)(a), (uint32)(c))
#define memcpy(a,b,c) mcpy((byte*)(a),(byte*)(b),(uint32)(c))