From 02ebc1d20db96bd63f456c5a57356b42e998ff35 Mon Sep 17 00:00:00 2001 From: "Castillo, Gerard" Date: Tue, 10 Sep 2013 12:33:23 +0200 Subject: [PATCH] todo: sdp cleaning when uv exits --- src/utils/sdp.c | 6 ++++++ src/utils/sdp.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/utils/sdp.c b/src/utils/sdp.c index 922e56123..18c56e903 100644 --- a/src/utils/sdp.c +++ b/src/utils/sdp.c @@ -196,3 +196,9 @@ char *set_stream_rtpmap(struct sdp *sdp, int index){ return sdp->stream[index]->rtpmap; } + +void clean_sdp(struct sdp *sdp){ + //TODO to free all memory + + +} diff --git a/src/utils/sdp.h b/src/utils/sdp.h index e84643e61..25fa8b588 100644 --- a/src/utils/sdp.h +++ b/src/utils/sdp.h @@ -107,6 +107,7 @@ void get_stream(struct sdp *sdp, int index); bool new_stream(struct sdp *sdp); char *set_stream_media_info(struct sdp *sdp, int index); char *set_stream_rtpmap(struct sdp *sdp, int index); +void clean_sdp(struct sdp *sdp); #ifdef __cplusplus }