diff options
Diffstat (limited to 'user.cpp')
-rw-r--r-- | user.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,6 +48,11 @@ class User::Private Private(QString userId, Connection* connection) : userId(move(userId)), connection(connection) { } + ~Private() + { + for (auto a: otherAvatars) + delete a; + } QString userId; Connection* connection; |