diff --git a/test/tst_neovimconnector.cpp b/test/tst_neovimconnector.cpp index 07098832e..f9506374b 100644 --- a/test/tst_neovimconnector.cpp +++ b/test/tst_neovimconnector.cpp @@ -24,6 +24,8 @@ private slots: QCOMPARE(spawned->canReconnect(), true); spawned->reconnect(); + + spawned->deleteLater(); } void isReady() { @@ -34,6 +36,8 @@ private slots: QVERIFY(SPYWAIT(onReady)); QVERIFY(c->isReady()); + + c->deleteLater(); } void encodeDecode() { @@ -51,6 +55,7 @@ private slots: bytes = c->encode(s); QCOMPARE(c->decode(bytes), s); + c->deleteLater(); } void connectToNeovimTCP() {