summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index cbdf15e59..886e7cffa 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -4773,7 +4773,7 @@ int sdp_set_supp_feat(sdp_record_t *rec, const sdp_list_t *sf)
free(dtds);
goto fail;
}
- lengths = malloc(plen * sizeof(int *));
+ lengths = malloc(plen * sizeof(int));
if (!lengths) {
free(dtds);
free(vals);