Commit 3c056bcc authored by Josh Kunz's avatar Josh Kunz

Fix a reference counting bug where a node was holding a grant

parent 62f80fe0
......@@ -1129,7 +1129,7 @@ int cn_node_grant_new(cn_node_t *node, cn_node_grant_t ** o_grant) {
/* Free the node grant. */
void cn_node_grant_free(cn_node_grant_t * grant) {
RPUTs_OBJ(grant, node);
RPUTs_OBJ(grant->node, grant);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment