From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> File is closed inside reading thread. Fixes: ... Error in `.../bluez/android/haltest': double free or corruption (!prev): 0x000000000065a5e0 *** Program received signal SIGABRT, Aborted. ... --- android/client/if-sco.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/client/if-sco.c b/android/client/if-sco.c index 4919fd9..70e2737 100644 --- a/android/client/if-sco.c +++ b/android/client/if-sco.c @@ -451,6 +451,8 @@ static void read_p(int argc, const char **argv) haltest_error("Cannot create playback thread!\n"); goto failed; } + + return; failed: if (out) fclose(out); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html