summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:54:59 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:54:59 -0500
commitacb6067ee71bca5dae79ee0d05eb1e5437bc1e3a (patch)
treea2a6081d426e45999e9b0370b4dc26fcb68361aa /src/screen.cpp
parentc7f81ebea72db06bd697377bf3aedce5d974c69c (diff)
downloadunity-window-decorator-acb6067ee71bca5dae79ee0d05eb1e5437bc1e3a.tar.gz
unity-window-decorator-acb6067ee71bca5dae79ee0d05eb1e5437bc1e3a.tar.bz2
Fix memory leaks.
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 465c2df..d8f5bad 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -1900,6 +1900,8 @@ PrivateScreen::removeSequence (SnStartupSequence *sequence)
startupSequences.erase (it);
+ delete s;
+
if (startupSequences.empty () && startupSequenceTimer.active ())
startupSequenceTimer.stop ();