libqtssu: memory leak/corruption fix