Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix memory leak in search items - sacc - sacc - sacc(omys), simple console goph…
git clone git://git.codemadness.org/sacc
Log
Files
Refs
LICENSE
---
commit 26bc04284d9becc870a6a036a9a6f9bdfba8ba2a
parent 0a187a5d95a708254d99a2cdec6bb54b732481a1
Author: Quentin Rameau <[email protected]>
Date: Mon, 28 Oct 2019 01:34:11 +0100
Fix memory leak in search items
Diffstat:
M sacc.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/sacc.c b/sacc.c
@@ -778,6 +778,7 @@ 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;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.