aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashmap.c b/src/hashmap.c
index 2522907..2787435 100644
--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -208,8 +208,8 @@ hashmap_remove(struct hashmap *hm, const char *key)
return old_value;
}
- node = node->next;
prev = node;
+ node = node->next;
}
return NULL;