Revision: 44693
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44693&view=rev
Author:   davidloman
Date:     2011-05-25 19:27:41 +0000 (Wed, 25 May 2011)

Log Message:
-----------
free bu_external* on ~ExtObject

Modified Paths:
--------------
    geomcore/trunk/src/GS/ExtObject.cxx

Modified: geomcore/trunk/src/GS/ExtObject.cxx
===================================================================
--- geomcore/trunk/src/GS/ExtObject.cxx 2011-05-25 19:13:35 UTC (rev 44692)
+++ geomcore/trunk/src/GS/ExtObject.cxx 2011-05-25 19:27:41 UTC (rev 44693)
@@ -28,7 +28,9 @@
 ExtObject::ExtObject( std::string objName, bu_external* ext
 ) : ext(ext), objName(objName) {}
 
-ExtObject::~ExtObject(void){}
+ExtObject::~ExtObject(void){
+  delete ext;
+}
 
 void
 ExtObject::serialize(ByteBuffer* bb)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to