libhl
libhl copied to clipboard
bugfix: Fix node deletion segment fault issue & add unit test for deletion operation & add the missing hashtable error message
The original code int rc = ht_delete(graph->nodes, node->label, strlen(node->label), (void **)&node, NULL); dereferences the NULL pointer, this results in a segment fault.