Jingwei LI (marsCatXDU)

Results 2 issues of Jingwei LI (marsCatXDU)

Signed-off-by: marsCatXDU

work in progress

The original code [`int rc = ht_delete(graph->nodes, node->label, strlen(node->label), (void **)&node, NULL);` ](https://github.com/xant/libhl/blob/master/src/graph.c#L91) dereferences the NULL pointer, this results in a segment fault.