mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Fix free() warning
This commit is contained in:
parent
1b9c3f12c8
commit
9f89ad4231
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user