projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
forgot to free the atom mutex
[physik/posic.git]
/
moldyn.c
diff --git
a/moldyn.c
b/moldyn.c
index
ed30815
..
bcc78c0
100644
(file)
--- a/
moldyn.c
+++ b/
moldyn.c
@@
-90,6
+90,7
@@
int moldyn_shutdown(t_moldyn *moldyn) {
#ifdef PTHREADS
for(i=0;i<moldyn->count;i++)
pthread_mutex_destroy(&(amutex[i]));
+ free(amutex);
pthread_mutex_destroy(&emutex);
#endif