Commit 49e7d228 authored by Anmol Vatsa's avatar Anmol Vatsa

don't delete the parent cap in revoke

parent 1f325736
......@@ -1961,10 +1961,7 @@ int proxy_node_grant_remote_cap(struct cnode* node_grant_cnode, cn_principal_t*
goto fail_free1;
}
//delete the Shadow cptr and Shadow object
cap_delete(as->cspace, cptr, NULL);
cptr_free(as->cache, cptr);
((cn_obj_t*)shadow)->free(shadow);
/*TODO: find all revoked caps and delete their shadows */
fail_free1:
if(rpc_resp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment