diff --git a/client.cpp b/client.cpp index c1d572be6c..28bffd1301 100644 --- a/client.cpp +++ b/client.cpp @@ -1089,7 +1089,7 @@ void Client::gotPing( Time timestamp ) void Client::pingTimeout() { kDebug( 1212 ) << "Ping timeout:" << caption(); - delete ping_timer; + ping_timer->deleteLater(); ping_timer = NULL; killProcess( true, ping_timestamp ); }