Remove not used allocation added in [bc650c59ca6d2edbf555dc0cec11091f274b42f5]
authorRafaël Carré <funman@videolan.org>
Tue, 20 May 2008 11:46:52 +0000 (13:46 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 20 May 2008 13:16:27 +0000 (15:16 +0200)
src/stream_output/sdp.c

index 826c259..6125323 100644 (file)
@@ -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");