Skip to content

QHostInfo: fix leaking slot object

We were not ref'ing or deref'ing the slot object in the various places that owned it. So, if, in the end, the QHostInfoResult object didn't call the slot we would leak the slot object.

Pick-to: 6.6 6.5 6.2 5.15 Fixes: QTBUG-115263 Change-Id: I45f43756c7589470045d97b59257ccfd85a325b7 Reviewed-by: Marc Mutz Reviewed-by: Volker Hilsheimer (cherry picked from commit 061ab84e)

Merge request reports