SharedLink API

Im trying to add support for Sharedlinks. so i added two new methods:

QDropbox::requestSharedLink
QDropbox::requestSharedLinkAndWait

this methods are bases on the original request methods
But when i call one of this im get SIGSEV on QDropboxJson::~QDropboxJson What am i doing wrong?