Revision: 54552
http://brlcad.svn.sourceforge.net/brlcad/?rev=54552&view=rev
Author: brlcad
Date: 2013-03-07 05:22:59 +0000 (Thu, 07 Mar 2013)
Log Message:
-----------
call BU_ALLOC() instead of BU_GET() since this is a pretty big/infrequently
allocated structure
Modified Paths:
--------------
brlcad/trunk/src/librt/wdb.c
Modified: brlcad/trunk/src/librt/wdb.c
===================================================================
--- brlcad/trunk/src/librt/wdb.c 2013-03-07 05:18:57 UTC (rev 54551)
+++ brlcad/trunk/src/librt/wdb.c 2013-03-07 05:22:59 UTC (rev 54552)
@@ -84,7 +84,7 @@
if (rt_uniresource.re_magic != RESOURCE_MAGIC)
rt_init_resource(&rt_uniresource, 0, NULL);
- BU_GET(wdbp, struct rt_wdb);
+ BU_ALLOC(wdbp, struct rt_wdb);
wdb_init(wdbp, dbip, mode);
return wdbp;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits