Make sure to call bb_destroy_map() and set the map to NULL.
authorDavid Griffith <dave@661.org>
Tue, 1 Oct 2019 07:57:19 +0000 (00:57 -0700)
committerDavid Griffith <dave@661.org>
Tue, 1 Oct 2019 07:57:19 +0000 (00:57 -0700)
src/curses/ux_blorb.c

index caeb314f0133a420a0489cb65cd78184d87cde7b..10f5be22fad470e886556bae4f293b100cb27782 100644 (file)
@@ -151,6 +151,8 @@ void ux_blorb_stop(void)
        if (blorb_fp != NULL)
                fclose(blorb_fp);
        blorb_fp = NULL;
+       bb_destroy_map(blorb_map);
+       blorb_map = NULL;
 }