A bug with error handling

上级 55ee8450
...@@ -123,7 +123,6 @@ uwq::alloc(vmap* vmap, filetable *ftable) ...@@ -123,7 +123,6 @@ uwq::alloc(vmap* vmap, filetable *ftable)
} }
if (mapkva(vmap->pml4, (char*)ipc, USERWQ, USERWQSIZE)) { if (mapkva(vmap->pml4, (char*)ipc, USERWQ, USERWQSIZE)) {
ksfree(slab_userwq, ipc);
u->dec(); u->dec();
return nullptr; return nullptr;
} }
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论