Revision: 75870
http://sourceforge.net/p/brlcad/code/75870
Author: d_rossberg
Date: 2020-05-21 14:27:52 +0000 (Thu, 21 May 2020)
Log Message:
-----------
they say that this macro shall be called once before RTG.rtg_vlfree will be
used (rt/global.h)
well, this can happen here
Modified Paths:
--------------
rt^3/trunk/src/coreInterface/ConstDatabase.cpp
Modified: rt^3/trunk/src/coreInterface/ConstDatabase.cpp
===================================================================
--- rt^3/trunk/src/coreInterface/ConstDatabase.cpp 2020-05-21 14:20:30 UTC
(rev 75869)
+++ rt^3/trunk/src/coreInterface/ConstDatabase.cpp 2020-05-21 14:27:52 UTC
(rev 75870)
@@ -79,8 +79,10 @@
if (init) { // do it only once
init = false;
- if (!BU_SETJUMP)
+ if (!BU_SETJUMP) {
+ BU_LIST_INIT(&RTG.rtg_vlfree);
bu_log_add_hook(NullLogger, 0);
+ }
BU_UNSETJUMP;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits