Skip to content

Commit

Permalink
Fix leak in edit form config (#3556)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and m-kuhn committed Oct 3, 2016
1 parent 5b3f10a commit 8e14cf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/qgseditformconfig_p.h
Expand Up @@ -54,6 +54,11 @@ class QgsEditFormConfigPrivate : public QSharedData
, mFields( o.mFields )
{}

~QgsEditFormConfigPrivate()
{
delete mInvisibleRootContainer;
}

/** The invisible root container for attribute editors in the drag and drop designer */
QgsAttributeEditorContainer* mInvisibleRootContainer;

Expand Down

0 comments on commit 8e14cf0

Please sign in to comment.