[libaccounts-qt] Fixed a few memory leaks