]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 6.3 - patch 20211115
authorThomas E. Dickey <dickey@invisible-island.net>
Tue, 16 Nov 2021 00:54:00 +0000 (00:54 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Tue, 16 Nov 2021 00:54:00 +0000 (00:54 +0000)
+ fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE
  #1192668, cf:  20211106),

12 files changed:
NEWS
VERSION
dist.mk
ncurses/base/lib_delwin.c
ncurses/tinfo/lib_tparm.c
package/debian-mingw/changelog
package/debian-mingw64/changelog
package/debian/changelog
package/mingw-ncurses.nsi
package/mingw-ncurses.spec
package/ncurses.spec
package/ncursest.spec

diff --git a/NEWS b/NEWS
index 2f5ca667e184b9da89625aa36c71af2673229ca2..88901a51de4a0f974440695d08d21ad6dacba09b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3743 2021/11/14 00:34:58 tom Exp $
+-- $Id: NEWS,v 1.3745 2021/11/16 00:26:15 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,10 @@ See the AUTHORS file for the corresponding full names.
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
+20211115
+       + fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE
+         #1192668, cf:  20211106),
+
 20211113
        + minor clarification to clear.1 (Debian #999437).
        + add xterm+sl-alt, use that in foot+base (report by Jonas Grosse
diff --git a/VERSION b/VERSION
index 977e6c5a693185d24313b11bdc629443c2ba5b03..ad38cd871a23a6a58eb6b8b1585b8ec7cc6d8647 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5:0:10 6.3     20211113
+5:0:10 6.3     20211115
diff --git a/dist.mk b/dist.mk
index dfee0c444aaef414f429b39e8661157ee75c77f7..e585e74ad2282cbe9d031ea9de9f795829fdf1b9 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1449 2021/11/13 11:06:04 tom Exp $
+# $Id: dist.mk,v 1.1450 2021/11/15 23:51:41 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -38,7 +38,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 6
 NCURSES_MINOR = 3
-NCURSES_PATCH = 20211113
+NCURSES_PATCH = 20211115
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index efaf4ee112fe437347063c29b602d61c824c323b..ce793e537f652e39d6b70dd134f126c8652326c5 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: lib_delwin.c,v 1.22 2021/11/06 21:54:14 tom Exp $")
+MODULE_ID("$Id: lib_delwin.c,v 1.23 2021/11/15 23:05:32 tom Exp $")
 
 static bool
 cannot_delete(WINDOW *win)
@@ -83,7 +83,7 @@ delwin(WINDOW *win)
            result = ERR;
        } else if (IS_PAD(win)) {
            win->_parent = NULL;
-           result = OK;
+           result = _nc_freewin(win);
        } else {
 #if NCURSES_SP_FUNCS
            SCREEN *sp = _nc_screen_of(win);
index 72d8813801c08487fc1f7403b32bf32e2ee2f270..1ca0a45e6a3b448d6721cd45cbab6de158a91181 100644 (file)
@@ -53,7 +53,7 @@
 #include <ctype.h>
 #include <tic.h>
 
-MODULE_ID("$Id: lib_tparm.c,v 1.134 2021/08/21 21:52:08 tom Exp $")
+MODULE_ID("$Id: lib_tparm.c,v 1.135 2021/11/15 23:31:31 tom Exp $")
 
 /*
  *     char *
@@ -209,6 +209,8 @@ _nc_free_tparm(void)
 static int
 tparm_error(TPARM_STATE *tps, const char *message)
 {
+    (void) tps;
+    (void) message;
     DEBUG(2, ("%s: %s", message, _nc_visbuf(TPS(tparam_base))));
     return ++_nc_tparm_err;
 }
index 3c0e1d2e538bc28f294e669d5ef5365cb2965f0f..c4672996ea56ddb4e92581036bdf99a898075fe4 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20211113) unstable; urgency=low
+ncurses6 (6.3+20211115) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sun, 07 Nov 2021 10:11:03 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Mon, 15 Nov 2021 18:51:41 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 3c0e1d2e538bc28f294e669d5ef5365cb2965f0f..c4672996ea56ddb4e92581036bdf99a898075fe4 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20211113) unstable; urgency=low
+ncurses6 (6.3+20211115) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sun, 07 Nov 2021 10:11:03 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Mon, 15 Nov 2021 18:51:41 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index d123f7ea932ace739f4a204de887665b308966e5..dc1638a8e4178bce3adba372a1de79a5deee7234 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20211113) unstable; urgency=low
+ncurses6 (6.3+20211115) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sun, 07 Nov 2021 10:11:03 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Mon, 15 Nov 2021 18:51:41 -0500
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 4cb28532db564a540db872cf3ea19e4a84f21dbc..1af5e514c2f901717b14e0ae1652bd704a4bed5f 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.491 2021/11/13 11:06:04 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.492 2021/11/15 23:51:41 tom Exp $\r
 \r
 ; TODO add examples\r
 ; TODO bump ABI to 6\r
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"\r
 !define VERSION_MINOR "3"\r
 !define VERSION_YYYY  "2021"\r
-!define VERSION_MMDD  "1113"\r
+!define VERSION_MMDD  "1115"\r
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
 \r
 !define MY_ABI   "5"\r
index 371fa90ff1bab6c2b14e8ae4ccd69c2d1d035573..da1c9c964100b5702de77f2bcdcd98663ce5144a 100644 (file)
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.3
-Release: 20211113
+Release: 20211115
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index 85203d3711aa288d9f6a17ef55c936c383d50032..92722c2059f5a5cabddae9843646cf0b06a51c23 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.3
-Release: 20211113
+Release: 20211115
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index 3c068627e9b857d7a91d1364941f80773e596750..f60c0411dde19b2acbc470367093869ffb9d6138 100644 (file)
@@ -1,7 +1,7 @@
 Summary: Curses library with POSIX thread support.
 Name: ncursest6
 Version: 6.3
-Release: 20211113
+Release: 20211115
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz