Revision: 76616
http://sourceforge.net/p/brlcad/code/76616
Author: starseeker
Date: 2020-07-31 20:09:39 +0000 (Fri, 31 Jul 2020)
Log Message:
-----------
free memory
Modified Paths:
--------------
brlcad/branches/bioh/src/mged/mged.c
Modified: brlcad/branches/bioh/src/mged/mged.c
===================================================================
--- brlcad/branches/bioh/src/mged/mged.c 2020-07-31 19:58:34 UTC (rev
76615)
+++ brlcad/branches/bioh/src/mged/mged.c 2020-07-31 20:09:39 UTC (rev
76616)
@@ -2491,6 +2491,8 @@
Tcl_Release((ClientData)INTERP);
ged_close(GEDP);
+ if (GEDP->ged_io_data)
+ BU_GET(GEDP->ged_io_data, struct tclcad_io_data);
if (GEDP)
BU_PUT(GEDP, struct ged);
@@ -2920,6 +2922,8 @@
Tcl_Eval(interpreter, "rename " MGED_DB_NAME " \"\"; rename .inmem \"\"");
/* close the geometry instance */
+ if (GEDP->ged_io_data)
+ BU_GET(GEDP->ged_io_data, struct tclcad_io_data);
ged_close(GEDP);
BU_PUT(GEDP, struct ged);
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