[vlc-devel] commit: Fix free() warning ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Aug 3 19:13:47 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 3 20:13:36 2009 +0300| [9f89ad423147f7bc9f982af73f99cdb849ee5f12] | committer: Rémi Denis-Courmont
Fix free() warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f89ad423147f7bc9f982af73f99cdb849ee5f12
---
modules/misc/logger.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index a9da6d9..e3902fd 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -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;
More information about the vlc-devel
mailing list