small memory leak

This commit is contained in:
Jean-Francois Dockes
2011-04-29 17:58:44 +02:00
parent bbb2593461
commit ca73d627fa
2 changed files with 25 additions and 18 deletions
+2 -1
View File
@@ -106,10 +106,11 @@ void IdxThread::run()
indexingstatus = IDXTS_ERROR;
indexingReason = "Indexing failed: " + indexer->getReason();
}
delete myconf;
pidfile.close();
delete indexer;
}
delete myconf;
myconf = 0;
rezero = false;
action_mutex.lock();
}