Commit 9f89ad42 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix free() warning

parent 1b9c3f12
......@@ -285,8 +285,7 @@ static int Open( vlc_object_t *p_this )
p_sys->msg.p_file = NULL;
#ifdef HAVE_SYSLOG_H
int i_facility;
const char *const psz_facility =
var_CreateGetString( p_intf, "syslog-facility" );
char *psz_facility = var_CreateGetString( p_intf, "syslog-facility" );
if( psz_facility )
{
bool b_valid = 0;
......
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