Commit d55f9c91 authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos

xseg: Free xseg context allocated memory

The caller never uses the same allocated memory
for the xseg context again. Instead calls xseg_join()
to rejoin the segment. This introduces a memory leak every time
the caller leaves and rejoins the shared memory segment on the
same process address space.
parent 9fb86764
......@@ -983,7 +983,7 @@ void xseg_leave(struct xseg *xseg)
type->ops.unmap(xseg->segment, xseg->segment_size);
//FIXME free xseg?
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