[Debian-astro-commits] [x11iraf] 01/01: Fix another wrong free -> Tcl_Free
Ole Streicher
olebole at moszumanska.debian.org
Fri Dec 8 10:04:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository x11iraf.
commit dfa126bf093389fb42631702a8ceee1cfe8bef42
Author: Ole Streicher <ole at aip.de>
Date: Fri Dec 8 11:02:17 2017 +0100
Fix another wrong free -> Tcl_Free
---
debian/patches/Use-system-Tcl-library.patch | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/debian/patches/Use-system-Tcl-library.patch b/debian/patches/Use-system-Tcl-library.patch
index e349d51..cea4cd4 100644
--- a/debian/patches/Use-system-Tcl-library.patch
+++ b/debian/patches/Use-system-Tcl-library.patch
@@ -8,19 +8,19 @@ This requires an update for several tcl lib functions
obm/Obm.c | 8 ++---
obm/ObmP.h | 2 +-
obm/client.c | 6 ++--
- obm/gterm.c | 20 ++++++------
+ obm/gterm.c | 20 ++++++-----
obm/html.c | 6 ++--
obm/marker.c | 26 +++++++--------
- obm/param.c | 18 +++++------
- obm/server.c | 38 +++++++++++-----------
- obm/widget.c | 91 ++++++++++++++++++++++++++--------------------------
+ obm/param.c | 18 +++++-----
+ obm/server.c | 38 ++++++++++-----------
+ obm/widget.c | 93 ++++++++++++++++++++++++++--------------------------
obmsh/Imakefile | 2 +-
xgterm/Imakefile | 2 +-
ximtool/Imakefile | 2 +-
ximtool/ism.c | 2 +-
ximtool/ism_wcspix.c | 2 +-
ximtool/ximclient.c | 4 +--
- 16 files changed, 118 insertions(+), 118 deletions(-)
+ 16 files changed, 119 insertions(+), 119 deletions(-)
diff --git a/obm/Imakefile b/obm/Imakefile
index 85090b7..c08def2 100644
@@ -469,9 +469,18 @@ index 9c8be1b..734c14c 100644
}
diff --git a/obm/widget.c b/obm/widget.c
-index e33723f..e472c35 100644
+index e33723f..0d60103 100644
--- a/obm/widget.c
+++ b/obm/widget.c
+@@ -601,7 +601,7 @@ ObmObject object;
+ * we can't assume that Xt allocated the buffer.
+ */
+ if (wp->data)
+- free (wp->data);
++ Tcl_Free (wp->data);
+
+ /* Mark any widget children as being destroyed so that we don't try
+ * to destroy them twice.
@@ -687,8 +687,8 @@ char *command;
if (omsg && (tcl = omsg->tcl) && obmClientCommand(tcl,command)) {
omsg->object[++omsg->level] = object;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/x11iraf.git
More information about the Debian-astro-commits
mailing list