Skip to content

Commit

Permalink
add human_nodename memory release
Browse files Browse the repository at this point in the history
  • Loading branch information
hwware committed Mar 9, 2023
1 parent 661baf1 commit cbad5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ void freeClusterNode(clusterNode *n) {
serverAssert(dictDelete(server.cluster->nodes,nodename) == DICT_OK);
sdsfree(nodename);
sdsfree(n->hostname);
//nodename feature sdsfree(n->nodename);
sdsfree(n->human_nodename);

/* Release links and associated data structures. */
if (n->link) freeClusterLink(n->link);
Expand Down

0 comments on commit cbad5c1

Please sign in to comment.