oboeru

a collection of simple, scriptable flashcard programs
git clone anongit@rnpnr.xyz:oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: e786a1955194a065984aa34575491764893073bc
Parent: ed219aa4b733c354047fabcf8750715b556ee360
Author: Randy Palamar
Date:   Thu, 12 Aug 2021 12:10:37 -0600

free decks array before exiting

Diffstat:
Moboeru.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/oboeru.c b/oboeru.c @@ -335,6 +335,7 @@ main(int argc, char *argv[]) if (reviews == NULL || cflag) { cleanup(); free(reviews); + free(decks); die("Cards Due: %ld\n", n_reviews); } @@ -347,6 +348,7 @@ main(int argc, char *argv[]) cleanup(); free(reviews); + free(decks); return 0; }