A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plug a memleak on thread cancelation (gras listener are always canceled)
[simgrid.git]
/
src
/
xbt
/
xbt_sg_synchro.c
diff --git
a/src/xbt/xbt_sg_synchro.c
b/src/xbt/xbt_sg_synchro.c
index
de8521b
..
6500d93
100644
(file)
--- a/
src/xbt/xbt_sg_synchro.c
+++ b/
src/xbt/xbt_sg_synchro.c
@@
-68,6
+68,7
@@
xbt_thread_join(xbt_thread_t thread) {
void
xbt_thread_cancel(xbt_thread_t thread) {
SIMIX_process_kill(thread->s_process);
+ free(thread->name);
free(thread);
}