git » libjio » commit d3dbfec

libjio: Free lingering transaction mutex in jclose()

author Alberto Bertogli
2011-02-27 11:57:52 UTC
committer Alberto Bertogli
2011-02-27 21:23:34 UTC
parent 251fcad42e6435006836b3fa01c12011cc7bfb27

libjio: Free lingering transaction mutex in jclose()

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libjio/trans.c +1 -0

diff --git a/libjio/trans.c b/libjio/trans.c
index a6dae51..f4c8328 100644
--- a/libjio/trans.c
+++ b/libjio/trans.c
@@ -803,6 +803,7 @@ int jclose(struct jfs *fs)
 		free(fs->jdir);
 
 	pthread_mutex_destroy(&(fs->lock));
+	pthread_mutex_destroy(&(fs->ltlock));
 
 	free(fs);