From 9531960162cc60c0b79ccd8b6b3647f1ca9c6a55 2012-12-12 08:48:56 From: sauimone Date: 2012-12-12 08:48:56 Subject: [PATCH] fix: wrong delete order in legendmarkeritem and legendmarker private --- diff --git a/src/legend/qlegendmarker.cpp b/src/legend/qlegendmarker.cpp index 5023fa8..ac67923 100644 --- a/src/legend/qlegendmarker.cpp +++ b/src/legend/qlegendmarker.cpp @@ -260,6 +260,7 @@ QLegendMarkerPrivate::QLegendMarkerPrivate(QLegendMarker *q, QLegend *legend) : QLegendMarkerPrivate::~QLegendMarkerPrivate() { + delete m_item; } void QLegendMarkerPrivate::invalidateLegend()