D15426: Avoid QByteArray::remove in AccessManagerReply::readData

Fabian Vogt noreply at phabricator.kde.org
Tue Sep 11 14:33:04 BST 2018


fvogt added a comment.


  Depending on how AccessManagerReply is used, it might be necessary to do `m_data.remove(0, m_offset); m_offset = 0;` if `m_offset` grows too large to not leak memory. Can a KIO expert answer this?

REPOSITORY
  R241 KIO

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

To: fvogt, #frameworks, elvisangelaccio
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180911/db514f06/attachment.html>


More information about the Kde-frameworks-devel mailing list