projects
/
physik
/
posic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815b884
)
forgot to free the atom mutex
author
hackbard
<hackbard@sage.physik.uni-augsburg.de>
Sun, 19 Oct 2008 20:01:23 +0000
(22:01 +0200)
committer
hackbard
<hackbard@sage.physik.uni-augsburg.de>
Sun, 19 Oct 2008 20:01:23 +0000
(22:01 +0200)
moldyn.c
patch
|
blob
|
history
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