Commit cad64acc authored by Erwan Tulou's avatar Erwan Tulou Committed by Jean-Baptiste Kempf

skins2(Linux): delete needs [] in C++ for arrays

(cherry picked from commit d4d14518060b66ed4a56630e79b020e680c21cfe)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2dfff9a3
...@@ -181,7 +181,7 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow, ...@@ -181,7 +181,7 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
textprop.nitems = strlen( hostname ); textprop.nitems = strlen( hostname );
XSetWMClientMachine( XDISPLAY, m_wnd, &textprop); XSetWMClientMachine( XDISPLAY, m_wnd, &textprop);
} }
delete hostname; delete[] hostname;
// initialize EWMH pid // initialize EWMH pid
pid_t pid = getpid(); pid_t pid = getpid();
......
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