Diff between a3344c7d4670c30c75bdf1e1427e3365690d31a6 and 9db45f056b98e84730e2353018d60824c16d9cc4
Changed Files
| File | Additions | Deletions | Status |
| lib/sdp.c | +1 | -0 | modified |
| tools/sdptool.c | +0 | -1 | modified |
Full Patch
diff --git a/lib/sdp.c b/lib/sdp.c
index 2107e28..155eca5 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -4906,6 +4906,7 @@ int sdp_get_supp_feat(const sdp_record_t *rec, sdp_list_t **seqp)
length = 0;
break;
default:
+ sdp_list_free(subseq, free);
goto fail;
}
diff --git a/tools/sdptool.c b/tools/sdptool.c
index 039e67d..b1cbcfd 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -3327,7 +3327,6 @@ static int add_palmos(sdp_session_t *session, svc_info_t *si)
err = sdp_device_record_register(session, &interface, &record,
SDP_RECORD_PERSIST);
-
sdp_list_free(root, NULL);
sdp_list_free(svclass, NULL);