Revision: 77445
http://sourceforge.net/p/brlcad/code/77445
Author: brlcad
Date: 2020-10-15 07:04:15 +0000 (Thu, 15 Oct 2020)
Log Message:
-----------
plug memory leak
Modified Paths:
--------------
brlcad/trunk/src/mged/attach.c
Modified: brlcad/trunk/src/mged/attach.c
===================================================================
--- brlcad/trunk/src/mged/attach.c 2020-10-15 07:00:37 UTC (rev 77444)
+++ brlcad/trunk/src/mged/attach.c 2020-10-15 07:04:15 UTC (rev 77445)
@@ -532,6 +532,7 @@
/* handle EOF */
bu_log("\n");
bu_vls_free(&wanted_type);
+ bu_vls_free(&prompt);
return;
}
@@ -538,6 +539,7 @@
if (bu_vls_strlen(&wanted_type) == 0 ||
BU_STR_EQUAL(bu_vls_addr(&wanted_type), "nu")) {
/* Nothing more to do. */
bu_vls_free(&wanted_type);
+ bu_vls_free(&prompt);
return;
}
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