From bc1649c4f3c0de31b016fcf6fac1a7b9ce78b73f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 20 May 2008 13:46:52 +0200 Subject: [PATCH] Remove not used allocation added in [bc650c59ca6d2edbf555dc0cec11091f274b42f5] --- src/stream_output/sdp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/stream_output/sdp.c b/src/stream_output/sdp.c index 826c259d9d..6125323c0c 100644 --- a/src/stream_output/sdp.c +++ b/src/stream_output/sdp.c @@ -270,10 +270,6 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref, char varname[cfglen + sizeof ("description")], *subvar = varname + cfglen; strcpy (varname, cfgpref); - session_descriptor_t *p_session = calloc (1, sizeof (*p_session)); - if (p_session == NULL) - return NULL; - strcpy (subvar, "name"); char *name = var_GetNonEmptyString (obj, varname); strcpy (subvar, "description"); -- 2.39.5