Soft'N'Design Software
/
projects
/
ulvpn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47cf891
)
fix a memory leak
author
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Wed, 11 Jun 2025 15:29:06 +0000
(17:29 +0200)
committer
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Wed, 11 Jun 2025 15:29:06 +0000
(17:29 +0200)
mapec_test.c
patch
|
blob
|
blame
|
history
diff --git
a/mapec_test.c
b/mapec_test.c
index 293d535c75383819e7e132ec138e9673af5ee488..b068b1d238bfe797f65c8ec1ed6c39ec36765a2a 100644
(file)
--- a/
mapec_test.c
+++ b/
mapec_test.c
@@
-232,6
+232,8
@@
int main (int argc, char **argv)
pthread_create (&client_thread, NULL, client, NULL);
pthread_join (client_thread, NULL);
+ pthread_cancel (server_thread);
+ pthread_join (server_thread, NULL);
printf ("*** END OF TEST SEQUENCE ***\n");