Revision: 78067
http://sourceforge.net/p/brlcad/code/78067
Author: starseeker
Date: 2021-01-12 15:33:42 +0000 (Tue, 12 Jan 2021)
Log Message:
-----------
Fix crash if lint -F option is passed invalid search args. (lint isn't
documented yet, so not really user visible.)
Modified Paths:
--------------
brlcad/trunk/src/libged/lint/lint.cpp
Modified: brlcad/trunk/src/libged/lint/lint.cpp
===================================================================
--- brlcad/trunk/src/libged/lint/lint.cpp 2021-01-12 15:25:27 UTC (rev
78066)
+++ brlcad/trunk/src/libged/lint/lint.cpp 2021-01-12 15:33:42 UTC (rev
78067)
@@ -455,7 +455,6 @@
BU_ALLOC(pc, struct bu_ptbl);
if (db_search(pc, DB_SEARCH_RETURN_UNIQ_DP, bu_vls_cstr(&sopts), argc,
dpa, gedp->ged_wdbp->dbip, NULL) < 0) {
ret = GED_ERROR;
- bu_ptbl_free(pc);
bu_free(pc, "pc table");
} else {
for (i = 0; i < BU_PTBL_LEN(pc); i++) {
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