diff options
Diffstat (limited to 'worker.cxx')
-rw-r--r-- | worker.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,7 +9,8 @@ Worker::Worker() void Worker::logIn(QString const& name, QString const& password) { rtclient_login(name.toLatin1().constData(), password.toLatin1().constData()); - rtclient_user(name.toLatin1().constData()); + auto user = rtclient_userget(name.toLatin1().constData()); + rtclient_userfree(user); } void Worker::search(QString const& owner) |