X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprotocol.cxx;h=a76f5efdd7a841ac4b09699f6b27d6fb677d1ef9;hb=a1031b052dd40ca3a4ea68dcd7f572b7d9e4bb24;hp=69bda35f4e7d3e4736a45fb849bd6bbcff342df6;hpb=c9813d1b5d79b4aad13c263690a0223086af25ac;p=flightgear.git diff --git a/src/Network/protocol.cxx b/src/Network/protocol.cxx index 69bda35f4..a76f5efdd 100644 --- a/src/Network/protocol.cxx +++ b/src/Network/protocol.cxx @@ -1,4 +1,4 @@ -// protocol.cxx -- High level protocal class +// protocol.cxx -- High level protocol class // // Written by Curtis Olson, started November 1999. // @@ -31,12 +31,15 @@ FGProtocol::FGProtocol() : hz(0.0), count_down(0.0), count(0), - enabled(false) + dir(SG_IO_NONE), + enabled(false), + io(NULL) { } FGProtocol::~FGProtocol() { + delete io; }