If I call a function like QNetworkAccessManager::head() with a QNetworkRequest 
I get a pointer to a QNetworkReply. But who's responsible for clearing up the 
QNetworkReply? Is it me, is it parented to the QNetworkReply, is it parented to 
the QNetworkAccessManager? If the latter, if the QNetworkAccessManager lasts 
for the lifetime of my application are all the QNetworkReply's going to take 
memory for the lifetime of the app?

I'd expect this to be covered in the documentation but I can't see anything:
https://doc.qt.io/qt-5/qnetworkaccessmanager.html#head

Thanks,

Tom Isaacson


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to