Diff between c81f9320357b0808dd4debebc687d26dc0be30ab and dc60ce0b460adf6b39c0ea5dbea072e9a50e6ec3
Changed Files
| File | Additions | Deletions | Status |
| lib/sdp.c | +1 | -1 | modified |
Full Patch
diff --git a/lib/sdp.c b/lib/sdp.c
index 34b0dbb..d43bbbd 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -2299,7 +2299,7 @@ static sdp_data_t *access_proto_to_dataseq(sdp_record_t *rec, sdp_list_t *proto)
sdp_list_t *p;
seqlen = sdp_list_len(proto);
- seqDTDs = malloc(seqlen * sizeof(void *));
+ seqDTDs = bt_malloc0(seqlen * sizeof(void *));
if (!seqDTDs)
return NULL;