diff --git a/src/libtomahawk/accounts/AccountModel.cpp b/src/libtomahawk/accounts/AccountModel.cpp
index c77abbe32..be4e084f7 100644
--- a/src/libtomahawk/accounts/AccountModel.cpp
+++ b/src/libtomahawk/accounts/AccountModel.cpp
@@ -49,6 +49,12 @@ AccountModel::AccountModel( QObject* parent )
 }
 
 
+AccountModel::~AccountModel()
+{
+    qDeleteAll( m_accounts );
+}
+
+
 void
 AccountModel::init()
 {
diff --git a/src/libtomahawk/accounts/AccountModel.h b/src/libtomahawk/accounts/AccountModel.h
index 02e38959f..db6924f90 100644
--- a/src/libtomahawk/accounts/AccountModel.h
+++ b/src/libtomahawk/accounts/AccountModel.h
@@ -86,6 +86,7 @@ public:
     };
 
     explicit AccountModel( QObject* parent = 0 );
+    virtual ~AccountModel();
 
     virtual QVariant data( const QModelIndex& index, int role = Qt::DisplayRole ) const;
     virtual int rowCount( const QModelIndex& parent = QModelIndex() ) const;