Revision: 55151
http://brlcad.svn.sourceforge.net/brlcad/?rev=55151&view=rev
Author: brlcad
Date: 2013-04-12 21:35:51 +0000 (Fri, 12 Apr 2013)
Log Message:
-----------
wipe out the magic number for good measure since this is no longer a valid
usable tree pointer after we give it back.
Modified Paths:
--------------
brlcad/trunk/include/raytrace.h
Modified: brlcad/trunk/include/raytrace.h
===================================================================
--- brlcad/trunk/include/raytrace.h 2013-04-12 21:35:06 UTC (rev 55150)
+++ brlcad/trunk/include/raytrace.h 2013-04-12 21:35:51 UTC (rev 55151)
@@ -1270,6 +1270,7 @@
* DEPRECATED, use BU_PUT()
*/
#define RT_FREE_TREE(_tp, _res) { \
+ (_tp)->magic = 0; \
(_tp)->tr_b.tb_left = (_res)->re_tree_hd; \
(_tp)->tr_b.tb_right = TREE_NULL; \
(_res)->re_tree_hd = (_tp); \
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits