Diff between 530a89e573d4538170a8aa4483661528719f2317 and 8a50b1f2eb295844839e968822bffcedee0a7250

Changed Files

File Additions Deletions Status
android/avctp.c +2 -0 modified

Full Patch

diff --git a/android/avctp.c b/android/avctp.c
index bc1bd80..f7c99ea 100644
--- a/android/avctp.c
+++ b/android/avctp.c
@@ -1490,6 +1490,8 @@ void avctp_shutdown(struct avctp *session)
 	if (session->destroy)
 		session->destroy(session->data);
 
+	g_free(session->handler);
+
 	if (session->key.timer > 0)
 		g_source_remove(session->key.timer);