Revision: 56197
          http://sourceforge.net/p/brlcad/code/56197
Author:   phoenixyjll
Date:     2013-07-24 06:04:24 +0000 (Wed, 24 Jul 2013)
Log Message:
-----------
left should be set to NULL if it's deleted. Otherwise the below Split() will 
crash.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/intersect.cpp

Modified: brlcad/trunk/src/libbrep/intersect.cpp
===================================================================
--- brlcad/trunk/src/libbrep/intersect.cpp      2013-07-24 05:28:26 UTC (rev 
56196)
+++ brlcad/trunk/src/libbrep/intersect.cpp      2013-07-24 06:04:24 UTC (rev 
56197)
@@ -282,6 +282,7 @@
        in->Split(sub.m_t[0], left, right);
     if (left)
        delete left;
+    left = NULL;
     if (ON_NearZero(sub.m_t[1] - dom.m_t[1]))
        left = right->Duplicate();
     else {

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to