D19799: QNetworkReply was not deleted

Kai Uwe Broulik noreply at phabricator.kde.org
Sat Mar 16 16:30:54 GMT 2019


broulik added inline comments.

INLINE COMMENTS

> apol wrote in FlatpakBackend.cpp:143
> This will crash here because it's passed into the connect, so it will be deleted when the function leaves and accessed from the lambda.

Just move the `QScopedPointer` into the lambda, which is what I was thinking about (wasn't clear in my comment, sorry)

REPOSITORY
  R134 Discover Software Store

REVISION DETAIL
  https://phabricator.kde.org/D19799

To: mlaurent, apol, #discover_software_store
Cc: broulik, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190316/a6b456d4/attachment.html>


More information about the Plasma-devel mailing list