Fix segfault on passage retrieval post-search.

This commit is contained in:
Paul Mosier 2021-09-25 23:28:54 -04:00
parent 1d51da03bb
commit 874a084cda
1 changed files with 0 additions and 1 deletions

View File

@ -216,7 +216,6 @@ const char* scabbard::search(modkey mod) {
sword::ListKey lk =
text->search(mod.searchkey, mod.searchtype, 0, clone);
const char* retval = parseVerses(text, lk);
delete(text);
delete(key);
delete(clone);
return retval;