We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e07fda + fc538e6 commit 3514ecbCopy full SHA for 3514ecb
src/globals.c
@@ -389,7 +389,7 @@ hashmap_node_t *hashmap_node_new(char *key, void *val)
389
node->key = calloc(len + 1, sizeof(char));
390
391
if (!node->key) {
392
- printf("Failed to allocate hashmap_node_t key with size %d\n");
+ printf("Failed to allocate hashmap_node_t key with size %d\n", len + 1);
393
free(node);
394
return NULL;
395
}
0 commit comments