tRevert "Fix memory leak in search items" - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 864e9c534956afb2a429174e10cc9b4d6196fa05 (DIR) parent 95c60192368eb92fd706aff387aa99df29c8f216 (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 28 Oct 2019 12:42:32 +0100 Revert "Fix memory leak in search items" This reverts commit 26bc04284d9becc870a6a036a9a6f9bdfba8ba2a. There is actually no leek here as an item without data would not already have a tag. Diffstat: M sacc.c | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) --- (DIR) diff --git a/sacc.c b/sacc.c t@@ -778,7 +778,6 @@ searchitem(Item *entry, Item *item) clearitem(item); if (!item->dat) { selector = item->selector; - free(item->tag); item->selector = item->tag = sel; dig(entry, item); item->selector = selector;