Commit 83aac075 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

logger: fix file leak

parent 28b91137
...@@ -309,12 +309,12 @@ static void Close( vlc_object_t *p_this ) ...@@ -309,12 +309,12 @@ static void Close( vlc_object_t *p_this )
case MODE_HTML: case MODE_HTML:
LOG_STRING( HTML_FOOTER, p_sys->p_file ); LOG_STRING( HTML_FOOTER, p_sys->p_file );
break; break;
case MODE_TEXT:
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
case MODE_SYSLOG: case MODE_SYSLOG:
closelog(); closelog();
break; break;
#endif #endif
case MODE_TEXT:
default: default:
LOG_STRING( TEXT_FOOTER, p_sys->p_file ); LOG_STRING( TEXT_FOOTER, p_sys->p_file );
break; break;
......
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