1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-25 09:41:30 +02:00

Fix free() warning

This commit is contained in:
Rémi Denis-Courmont 2009-08-03 20:13:36 +03:00
parent 1b9c3f12c8
commit 9f89ad4231

View File

@ -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;