Commit ef550e16 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Checking for unitialized pointer

parent bce20e8a
......@@ -429,6 +429,7 @@ int CVANetServerImpl::Finalize()
std::cout << "VANetServer: Shutting down" << std::endl;
#endif
if( m_pConnectionAccepter )
m_pConnectionAccepter->Abort();
delete m_pConnectionAccepter;
m_pConnectionAccepter = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment