aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-12 03:21:45 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-12 03:21:45 +0200
commit3bee37eac6a12d2c54b4fee3ea9c53ba6ec11c9f (patch)
treeca0bfdd2f66ca04878bb5515fc71b97412305c90
parentmisc (diff)
downloadmds-3bee37eac6a12d2c54b4fee3ea9c53ba6ec11c9f.tar.gz
mds-3bee37eac6a12d2c54b4fee3ea9c53ba6ec11c9f.tar.bz2
mds-3bee37eac6a12d2c54b4fee3ea9c53ba6ec11c9f.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index c408f54..18a3e3b 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -393,9 +393,9 @@ int master_loop(void)
fail:
if (!rc && reexecing)
return 0;
- mds_message_destroy(&received);
if ((!joined) && (errno = pthread_join(kbd_thread, NULL)))
xperror(*argv);
+ mds_message_destroy(&received);
return rc;
}