Panda3D

bioStreamPtr.cxx

00001 // Filename: bioStreamPtr.cxx
00002 // Created by:  drose (15Oct02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #include "bioStreamPtr.h"
00016 
00017 #ifdef HAVE_OPENSSL
00018 
00019 ////////////////////////////////////////////////////////////////////
00020 //     Function: BioStreamPtr::Destructor
00021 //       Access: Public
00022 //  Description:
00023 ////////////////////////////////////////////////////////////////////
00024 BioStreamPtr::
00025 ~BioStreamPtr() {
00026   if (_stream != (BioStream *)NULL) {
00027     delete _stream;
00028     _stream = (BioStream *)NULL;
00029   }
00030 }
00031 
00032 #endif  // HAVE_OPENSSL
 All Classes Functions Variables Enumerations