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.
Showing with 1 addition and 1 deletion