summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniƫl <danielheres@gmail.com>2009-05-15 05:29:29 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-05-27 14:27:13 (GMT)
commitd8a2e52e4db873a2cfd39630df47b61bec502fd1 (patch)
tree55d59b988e6946acc7d1e2bac1eddeb683550f0f
parent5db3e40ca796f29cbd7bfc5f7f88823f6e27c16f (diff)
downloadQt-d8a2e52e4db873a2cfd39630df47b61bec502fd1.zip
Qt-d8a2e52e4db873a2cfd39630df47b61bec502fd1.tar.gz
Qt-d8a2e52e4db873a2cfd39630df47b61bec502fd1.tar.bz2
Memory of fixedKernel is never returned, found by cppcheck.
-rw-r--r--src/gui/image/qpixmapfilter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qpixmapfilter.cpp b/src/gui/image/qpixmapfilter.cpp
index 8631c8c..4e6adc0 100644
--- a/src/gui/image/qpixmapfilter.cpp
+++ b/src/gui/image/qpixmapfilter.cpp
@@ -401,6 +401,7 @@ static void convolute(
}
yk++;
}
+ delete[] fixedKernel;
}
/*!