Correct potential leaks in xapp class.
[ric-plt/xapp-frame-cpp.git] / src / xapp / xapp.cpp
index cb14f2e..caec394 100644 (file)
@@ -87,7 +87,7 @@ void Xapp::Run( int nthreads ) {
                tinfo[i]->join();
        }
 
-       delete tinfo;
+       delete[] tinfo;
 }
 
 /*