summaryrefslogtreecommitdiff
path: root/source/tests/test_interprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests/test_interprocess.c')
-rw-r--r--source/tests/test_interprocess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tests/test_interprocess.c b/source/tests/test_interprocess.c
index a69dd02..cf33086 100644
--- a/source/tests/test_interprocess.c
+++ b/source/tests/test_interprocess.c
@@ -10,6 +10,8 @@ enum { DATA_SIZE = 64 };
enum { STATE_INIT, STATE_READY, STATE_DONE };
int run_writer() {
+ kit_shared_memory_clean(SZ(NAME));
+
kit_shared_memory_t mem = kit_shared_memory_open(
SZ(NAME), DATA_SIZE, KIT_SHARED_MEMORY_CREATE);