vlc | branch: master | Erwan Tulou <[email protected]> | Fri Feb 17 15:04:33 2012 +0100| [61e145ca81f83a23c188b4dfa0bb62d4fd4acb6a] | committer: Erwan Tulou
skins2: fix a small memory leak and downgrade from err to dbg This last occurrence of MSG_ERR led to a memory leak. In addition, avoid spamming the logs. A debug message is enough. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61e145ca81f83a23c188b4dfa0bb62d4fd4acb6a --- modules/gui/skins2/x11/x11_display.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/skins2/x11/x11_display.cpp b/modules/gui/skins2/x11/x11_display.cpp index d259556..ac02312 100644 --- a/modules/gui/skins2/x11/x11_display.cpp +++ b/modules/gui/skins2/x11/x11_display.cpp @@ -63,7 +63,7 @@ X11Display::X11Display( intf_thread_t *pIntf ): SkinObject( pIntf ), m_pDisplay = XOpenDisplay( NULL ); if( m_pDisplay == NULL ) { - MSG_ERR( "Cannot open display" ); + msg_Dbg( pIntf, "Cannot open X display" ); return; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
