[PATCH 2/3] android/avrcp-lib: Fix not freeing tx buffer on AVRCP shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/avrcp-lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c
index e71f95c..feab303 100644
--- a/android/avrcp-lib.c
+++ b/android/avrcp-lib.c
@@ -126,6 +126,7 @@ void avrcp_shutdown(struct avrcp *session)
 		avctp_shutdown(session->conn);
 	}
 
+	g_free(session->tx_buf);
 	g_free(session);
 }
 
-- 
1.8.5.3

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux