Commit 780258cb authored by Hanspeter Portner's avatar Hanspeter Portner

Squashed 'xpress.lv2/' changes from 459d6311..c35678f0

c35678f0 do not unlink.

git-subtree-dir: xpress.lv2
git-subtree-split: c35678f06b4baef49ceb9512b2d98a9df5a9ab63
parent d5b58e2d
......@@ -387,7 +387,6 @@ _xpress_shm_init()
|| ((xpress_shm = mmap(NULL, total_size, PROT_READ | PROT_WRITE,
MAP_SHARED, fd, 0)) == MAP_FAILED) )
{
shm_unlink(XPRESS_SHM_ID);
close(fd);
return NULL;
}
......@@ -410,7 +409,6 @@ _xpress_shm_deinit(xpress_shm_t *xpress_shm)
const size_t total_size = sizeof(xpress_shm_t);
munmap(xpress_shm, total_size);
shm_unlink(XPRESS_SHM_ID);
#else
(void)xpress_shm;
#endif
......
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