diff options
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -109,6 +109,8 @@ mapput(struct map *h, struct mapkey *k) h->vals[j] = oldvals[i]; } } + free(oldkeys); + free(oldvals); } i = keyindex(h, k); if (!h->keys[i].str) { |