Revision: 76621
http://sourceforge.net/p/brlcad/code/76621
Author: brlcad
Date: 2020-08-01 03:17:36 +0000 (Sat, 01 Aug 2020)
Log Message:
-----------
surely the intention was to free memory before releasing, not leak 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 23:09:17 UTC (rev
76620)
+++ brlcad/branches/bioh/src/mged/mged.c 2020-08-01 03:17:36 UTC (rev
76621)
@@ -2492,7 +2492,7 @@
ged_close(GEDP);
if (GEDP->ged_io_data)
- BU_GET(GEDP->ged_io_data, struct tclcad_io_data);
+ BU_PUT(GEDP->ged_io_data, struct tclcad_io_data);
if (GEDP)
BU_PUT(GEDP, struct ged);
@@ -2923,7 +2923,7 @@
/* close the geometry instance */
if (GEDP->ged_io_data)
- BU_GET(GEDP->ged_io_data, struct tclcad_io_data);
+ BU_PUT(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