Commit d4d14518 authored by Erwan Tulou's avatar Erwan Tulou

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

parent c5c957f9
......@@ -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();
......
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