[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra] krita/plugins/paintops/libpaintop: don't delete shared pointer
From:       Sven Langkamp <sven.langkamp () gmail ! com>
Date:       2012-03-30 12:00:38
Message-ID: 20120330120038.6DD1BA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit cf722cf9f49ae625e0df97a51aff1cb5c56b69fc by Sven Langkamp.
Committed on 30/03/2012 at 13:53.
Pushed by langkamp into branch 'master'.

don't delete shared pointer

M  +0    -1    krita/plugins/paintops/libpaintop/kis_texture_option.cpp

http://commits.kde.org/calligra/cf722cf9f49ae625e0df97a51aff1cb5c56b69fc

diff --git a/krita/plugins/paintops/libpaintop/kis_texture_option.cpp \
b/krita/plugins/paintops/libpaintop/kis_texture_option.cpp index 24b8b14..2444057 \
                100644
--- a/krita/plugins/paintops/libpaintop/kis_texture_option.cpp
+++ b/krita/plugins/paintops/libpaintop/kis_texture_option.cpp
@@ -237,7 +237,6 @@ void KisTextureProperties::recalculateMask()
 
     if (!pattern) return;
 
-    delete m_mask;
     m_mask = 0;
 
     QImage mask = pattern->image();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic