sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit d69467dff3c00ec0a17a5856ccbbe124a8eb7d99
parent b6731ae35b125963a37dcaacaf76169992ad1f67
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 17 Aug 2022 01:34:10 +0200

sfeed_curses: fix a memleak caused by a mistake in refactoring the code

Introduced by a code cleanup/refactor in commit
59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22

Diffstat:
Msfeed_curses.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -1914,6 +1914,7 @@ urls_free(struct urls *urls) urls->len--; free(urls->items[urls->len]); } + free(urls->items); urls->items = NULL; urls->len = 0; urls->cap = 0;