Revision: 41219
http://brlcad.svn.sourceforge.net/brlcad/?rev=41219&view=rev
Author: brlcad
Date: 2010-11-02 11:13:44 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
the db_free_tree for the left was intentional. free it up so we don't leak.
Modified Paths:
--------------
brlcad/trunk/src/librt/db_tree.c
Modified: brlcad/trunk/src/librt/db_tree.c
===================================================================
--- brlcad/trunk/src/librt/db_tree.c 2010-11-02 11:10:21 UTC (rev 41218)
+++ brlcad/trunk/src/librt/db_tree.c 2010-11-02 11:13:44 UTC (rev 41219)
@@ -3051,6 +3051,8 @@
}
tp->tr_b.tb_right = db_tree_parse(vls, argv[2], resp);
if (tp->tr_b.tb_right == TREE_NULL) {
+ /* free the left we just tree parsed */
+ db_free_tree(tp->tr_b.tb_left, resp);
RT_FREE_TREE(tp, resp);
tp = TREE_NULL;
goto out;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits