[glom] LayoutItem: Destructor: Delete mPositions.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] LayoutItem: Destructor: Delete mPositions.
- Date: Tue, 2 Dec 2014 18:27:01 +0000 (UTC)
commit b5932b2f7a940a02b75242eb4aa896f00ba291ea
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 2 19:20:00 2014 +0100
LayoutItem: Destructor: Delete mPositions.
Found by Coverity Scan.
glom/libglom/data_structure/layout/layoutitem.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glom/libglom/data_structure/layout/layoutitem.cc
b/glom/libglom/data_structure/layout/layoutitem.cc
index 11e9d16..a7ca91a 100644
--- a/glom/libglom/data_structure/layout/layoutitem.cc
+++ b/glom/libglom/data_structure/layout/layoutitem.cc
@@ -82,6 +82,7 @@ LayoutItem::LayoutItem(const LayoutItem& src)
LayoutItem::~LayoutItem()
{
+ delete m_positions;
}
LayoutItem& LayoutItem::operator=(const LayoutItem& src)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]