Diff between d763bfa4d0892b4b3b004577491d2493a999648e and de1901565979b5f56effc34b03594bee4f757f7d

Changed Files

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

Full Patch

diff --git a/tools/rctest.c b/tools/rctest.c
index 2695037..d311808 100644
--- a/tools/rctest.c
+++ b/tools/rctest.c
@@ -94,7 +94,7 @@ static float tv2fl(struct timeval tv)
 static uint8_t get_channel(const char *svr, uint16_t uuid)
 {
 	sdp_session_t *sdp;
-	sdp_list_t *srch, *attrs, *rsp, *protos;
+	sdp_list_t *srch, *attrs, *rsp, *protos = NULL;
 	uuid_t svclass;
 	uint16_t attr;
 	bdaddr_t dst;