X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fprotocol.cxx;h=a76f5efdd7a841ac4b09699f6b27d6fb677d1ef9;hb=a1031b052dd40ca3a4ea68dcd7f572b7d9e4bb24;hp=e505bd5d582cc1f14ea4f50fcad1a9bbc2bf7955;hpb=339f39f235bbe7991898dfc70d3aee77ace9357b;p=flightgear.git diff --git a/src/Network/protocol.cxx b/src/Network/protocol.cxx index e505bd5d5..a76f5efdd 100644 --- a/src/Network/protocol.cxx +++ b/src/Network/protocol.cxx @@ -1,8 +1,8 @@ -// protocol.cxx -- High level protocal class +// protocol.cxx -- High level protocol class // // Written by Curtis Olson, started November 1999. // -// Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 1999 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -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; }