[vlc-commits] commit: skins2(Linux): delete needs [] in C++ for arrays (Erwan Tulou )
git at videolan.org
git at videolan.org
Thu May 20 00:44:48 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue May 18 18:49:52 2010 +0200| [cad64acc2bec89fab688e8991d0cf1bfaca2ee2c] | committer: Jean-Baptiste Kempf
skins2(Linux): delete needs [] in C++ for arrays
(cherry picked from commit d4d14518060b66ed4a56630e79b020e680c21cfe)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=cad64acc2bec89fab688e8991d0cf1bfaca2ee2c
---
modules/gui/skins2/x11/x11_window.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/skins2/x11/x11_window.cpp b/modules/gui/skins2/x11/x11_window.cpp
index 84b2449..4b26433 100644
--- a/modules/gui/skins2/x11/x11_window.cpp
+++ b/modules/gui/skins2/x11/x11_window.cpp
@@ -181,7 +181,7 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
textprop.nitems = strlen( hostname );
XSetWMClientMachine( XDISPLAY, m_wnd, &textprop);
}
- delete hostname;
+ delete[] hostname;
// initialize EWMH pid
pid_t pid = getpid();
More information about the vlc-commits
mailing list