Commit bc1649c4 authored by Rafaël Carré's avatar Rafaël Carré

Remove not used allocation added in [bc650c59]

parent cf9c7df7
...@@ -270,10 +270,6 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref, ...@@ -270,10 +270,6 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfgpref,
char varname[cfglen + sizeof ("description")], *subvar = varname + cfglen; char varname[cfglen + sizeof ("description")], *subvar = varname + cfglen;
strcpy (varname, cfgpref); strcpy (varname, cfgpref);
session_descriptor_t *p_session = calloc (1, sizeof (*p_session));
if (p_session == NULL)
return NULL;
strcpy (subvar, "name"); strcpy (subvar, "name");
char *name = var_GetNonEmptyString (obj, varname); char *name = var_GetNonEmptyString (obj, varname);
strcpy (subvar, "description"); strcpy (subvar, "description");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment