From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/if-audio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/client/if-audio.c b/android/client/if-audio.c index 3b34c95..f449b49 100644 --- a/android/client/if-audio.c +++ b/android/client/if-audio.c @@ -225,10 +225,8 @@ static void *playback_thread(void *data) pthread_mutex_unlock(&outstream_mutex); } while (len && w_len); - if (in) { + if (in) fclose(in); - in = NULL; - } pthread_cleanup_pop(1); return NULL; -- 1.8.3.2 -- 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