Commit 138f0829 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

luasd: Fix a leak.

parent 18b79e82
......@@ -57,7 +57,7 @@ int Open_LuaSD( vlc_object_t *p_this )
services_discovery_t *p_sd = ( services_discovery_t * )p_this;
services_discovery_sys_t *p_sys;
lua_State *L = NULL;
char *psz_name = strdup(p_sd->psz_name);
char *psz_name = NULL;
if( !strcmp(p_sd->psz_name, "lua"))
{
......
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