Commit ce71896a authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

sess: Plug conceptual leak

It's harmless with a regular workspace, but technically we are leaving
outstanding allocations in the workspace.
parent 0632b846
...@@ -654,6 +654,7 @@ SES_Rel(struct sess *sp) ...@@ -654,6 +654,7 @@ SES_Rel(struct sess *sp)
if (i) if (i)
return; return;
Lck_Delete(&sp->mtx); Lck_Delete(&sp->mtx);
WS_Rollback(sp->ws, 0);
MPL_Free(sp->pool->mpl_sess, sp); MPL_Free(sp->pool->mpl_sess, sp);
} }
......
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