svm: Close client shm fd

Type: fix

Signed-off-by: Emmanuel Scaria <emmanuelscaria11@gmail.com>
Change-Id: I41bb6e16735b77efa744b0368eed7dfa9583e960
This commit is contained in:
root
2022-04-01 09:09:05 +00:00
committed by Florin Coras
parent 7539e4b552
commit 5e06e4f311

View File

@@ -183,6 +183,7 @@ re_map_it:
return SSVM_API_ERROR_MMAP;
}
sh->client_pid = getpid ();
close (ssvm_fd);
return 0;
}