macks22 / comdetect

Community detection algorithm implementations.
1 stars 1 forks source link

`addNodeToIdMap` memory allocation never freed #9

Closed macks22 closed 9 years ago

macks22 commented 9 years ago
174   e.key = tcalloc(10, sizeof(char));
175   strncpy(e.key, node_id_str, strlen(node_id_str));
176   e.data = tcalloc(1, sizeof(int));

Lines may change, but this is where it's at now.

macks22 commented 9 years ago

Resolved by 88c779374842a0ec8f022eecd9aca887ced676e8.