Revision: 54549
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54549&view=rev
Author:   brlcad
Date:     2013-03-07 02:56:02 +0000 (Thu, 07 Mar 2013)
Log Message:
-----------
call malloc instead of get for now since the latter needs to be paired with 
BU_PUT calls

Modified Paths:
--------------
    brlcad/trunk/src/librt/comb/comb.c

Modified: brlcad/trunk/src/librt/comb/comb.c
===================================================================
--- brlcad/trunk/src/librt/comb/comb.c  2013-03-07 02:53:43 UTC (rev 54548)
+++ brlcad/trunk/src/librt/comb/comb.c  2013-03-07 02:56:02 UTC (rev 54549)
@@ -480,7 +480,7 @@
     ip->idb_major_type = DB5_MAJORTYPE_BRLCAD;
     ip->idb_type = ID_COMBINATION;
     ip->idb_meth = &rt_functab[ID_COMBINATION];
-    BU_GET(comb, struct rt_comb_internal);
+    comb = bu_malloc(sizeof(struct rt_comb_internal), "comb");
     RT_COMB_INTERNAL_INIT(comb);
 
     ip->idb_ptr = (genptr_t)comb;

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

Reply via email to