From 3bee37eac6a12d2c54b4fee3ea9c53ba6ec11c9f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 12 Aug 2014 03:21:45 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2