summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorroot <emmanuelscaria11@gmail.com>2022-04-01 09:09:05 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-04-03 16:39:25 +0000
commit5e06e4f311d854a6a657f34157648e1ea2b6cdf1 (patch)
treee9c167db349d517d771a7150071ab29c6328cb03 /src
parent7539e4b5522b015a715ba49eed4477b8cece1b86 (diff)
svm: Close client shm fd
Type: fix Signed-off-by: Emmanuel Scaria <emmanuelscaria11@gmail.com> Change-Id: I41bb6e16735b77efa744b0368eed7dfa9583e960
Diffstat (limited to 'src')
-rw-r--r--src/svm/ssvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c
index f93f40d0526..e404906cb29 100644
--- a/src/svm/ssvm.c
+++ b/src/svm/ssvm.c
@@ -183,6 +183,7 @@ re_map_it:
return SSVM_API_ERROR_MMAP;
}
sh->client_pid = getpid ();
+ close (ssvm_fd);
return 0;
}