diff --git a/CrewDatabase.cpp b/CrewDatabase.cpp
index 6b04ede..3cb5370 100755
--- a/CrewDatabase.cpp
+++ b/CrewDatabase.cpp
@@ -41,6 +41,7 @@ CrewDatabase::CrewDatabase(QObject *parent) : QObject(parent)
 CrewDatabase::~CrewDatabase()
 {
     crewDB->endGroup();
+    delete crewDB;
 }
 
 QStringList CrewDatabase::getCrews()
diff --git a/ProfileDatabase.cpp b/ProfileDatabase.cpp
index c2da1af..8aa6124 100755
--- a/ProfileDatabase.cpp
+++ b/ProfileDatabase.cpp
@@ -41,6 +41,12 @@ ProfileDatabase::ProfileDatabase(QObject *parent) : QObject(parent)
 ProfileDatabase::~ProfileDatabase()
 {
     profileDB->endGroup();
+    delete profileDB;
+}
+
+QStringList ProfileDatabase::getPlayers()
+{
+    return profileDB->childKeys();
 }
 
 QString ProfileDatabase::getPlayerName(int playerID)
diff --git a/ProfileDatabase.h b/ProfileDatabase.h
index 4c4e463..e32b1c4 100755
--- a/ProfileDatabase.h
+++ b/ProfileDatabase.h
@@ -29,6 +29,7 @@ class ProfileDatabase : public QObject
 public:
     explicit ProfileDatabase(QObject *parent = 0);
     QString getPlayerName(int playerID);
+    QStringList getPlayers();
     ~ProfileDatabase();
 
 private: