Diff between a5350c6e3361c36879c5120ed9204c6d710d2a96 and 74c0e1fed937452baf5a5745ff03972786358b26

Changed Files

File Additions Deletions Status
tools/btproxy.c +1 -1 modified

Full Patch

diff --git a/tools/btproxy.c b/tools/btproxy.c
index 3c7c48f..1573587 100644
--- a/tools/btproxy.c
+++ b/tools/btproxy.c
@@ -659,7 +659,7 @@ int main(int argc, char *argv[])
 
 		dst_fd = open_vhci(0x00);
 		if (dst_fd < 0) {
-			close(dst_fd);
+			close(src_fd);
 			return EXIT_FAILURE;
 		}