Diff between b752f760da474c53d66cc4b137db0838aee3c953 and 19ff9ab9151205501025a8bd061da022bb44bd58

Changed Files

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

Full Patch

diff --git a/android/avctp.c b/android/avctp.c
index 37b4cec..d8104a7 100644
--- a/android/avctp.c
+++ b/android/avctp.c
@@ -905,10 +905,8 @@ send:
 failed:
 	DBG("AVCTP Browsing: disconnected");
 
-	if (session->browsing) {
-		avctp_channel_destroy(session->browsing);
-		session->browsing = NULL;
-	}
+	avctp_channel_destroy(session->browsing);
+	session->browsing = NULL;
 
 	return FALSE;
 }