commit 153c0e85f09b9f4b92b4be904f25ac64fe4512cb
Author: Christian Ehringfeld <c.ehringfeld@t-online.de>
Date:   Sun Sep 27 11:51:56 2015 +0200

    resolved mem leaks

diff --git a/src/entityinspector.cpp b/src/entityinspector.cpp
index 5e94a61..ef316fc 100644
--- a/src/entityinspector.cpp
+++ b/src/entityinspector.cpp
@@ -72,6 +72,8 @@ bool EntityInspector::checkEntity(QString name) {
         this->verifyBlobAttributes(entity, msg);
         this->verifyTransientAttributes(entity, msg);
         ok = pk && relations;
+        delete entity;
+        entity = nullptr;
     }
     this->logger->logMsg(msg);
     return ok;
@@ -251,6 +253,8 @@ void EntityInspector::checkRelationMappings(QMetaProperty &property,
                    " class!\n";
             ok = false;
         }
+        delete foreignInstance;
+        foreignInstance = nullptr;
     } else {
         msg += "Can't create object for property/relation " + r.getPropertyName() +
                "!\n";
