OSDN Git Service

Merge "Add missing packet length checks while parsing BNEP control packets" into...
[android-x86/system-bt.git] / stack / sdp / sdp_main.c
index 7bb2110..c888817 100644 (file)
@@ -531,7 +531,7 @@ static void sdp_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg)
         SDP_TRACE_WARNING ("SDP - Rcvd L2CAP data, unknown CID: 0x%x", l2cap_cid);
     }
 
-    osi_freebuf(p_msg);
+    osi_free(p_msg);
 }