diff options
author | Russ Cox <rsc@golang.org> | 2010-05-24 14:31:10 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-05-24 14:31:10 -0700 |
commit | 191d7455af687328936f1295c1941e808706805a (patch) | |
tree | 48cb063d8c2200d44b568f99d23d0888cec6f7a4 | |
parent | 4e14e021d938ede1b50b168cbd1459e4af983042 (diff) | |
download | golang-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.h | 1 |
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)) |