aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Bohórquez <carlos@kernelmap.com>2016-02-02 23:36:03 +0100
committerCarlos Bohórquez <carlos@kernelmap.com>2016-02-02 23:36:03 +0100
commit823174d00637d04581308ce8c00175dfe6639450 (patch)
treecec3f571c774eabdfc65a5f584ac89e9a2ea42ef
parentDisable the quickwidget desktop plugin. The QML embedding systems are still n... (diff)
downloadlumina-823174d00637d04581308ce8c00175dfe6639450.tar.gz
lumina-823174d00637d04581308ce8c00175dfe6639450.tar.bz2
lumina-823174d00637d04581308ce8c00175dfe6639450.zip
Fix one typo. Using delete with new [] is undefined.
-rw-r--r--libLumina/LuminaX11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaX11.cpp b/libLumina/LuminaX11.cpp
index 021e031d..3b8d8414 100644
--- a/libLumina/LuminaX11.cpp
+++ b/libLumina/LuminaX11.cpp
@@ -164,7 +164,7 @@ void LXCB::RegisterVirtualRoots(QList<WId> roots){
//Now set the property
xcb_ewmh_set_virtual_roots(&EWMH, 0, roots.length(), list);
//Now delete the temporary array from memory
- delete list;
+ delete [] list;
}
// ===== SetCurrentWorkspace() =====
bgstack15