summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-18 06:36:05 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-18 06:36:05 +0000
commit44e98ed6c0efe8227737e1df2df23550d8c790a9 (patch)
treead9a4a938b9211c0ce1393ae50055edf1d3e5a18 /Build/source/texk/web2c/luatexdir
parent160c15e5ecc6084ba75acf0d373278879f2150ec (diff)
Avoid a small IPC memory leak
git-svn-id: svn://tug.org/texlive/trunk@22519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog7
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex.c7
2 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index fd48641ab41..b4a8d50d3c3 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,14 +1,21 @@
+2011-05-18 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * luatex.c (ipcpage): Add 'free(cwd)', remove Aleph comment.
+
2011-05-17 Taco Hoekwater <taco@luatex.org>
+
* tex/texfileio.w (luatex_synctex_get_current_name): switch to xgetcwd()
from kpathsea
* luatex_svnversion.h: updated to reflect latest luatex revision (4272)
2011-05-15 Taco Hoekwater <taco@luatex.org>
+
* tex/texfileio.w (luatex_synctex_get_current_name): work around a
bug in getcwd().
* luatex_svnversion.h: updated to reflect latest luatex revision (4267)
2011-05-13 Taco Hoekwater <taco@luatex.org>
+
* lua/luainit.w: change the copyright year to 2011.
* luatex_svnversion.h: updated to reflect latest luatex revision (4264)
* NEWS: forgot to mention synctex change
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c
index a257b60e383..2b22b3490bd 100644
--- a/Build/source/texk/web2c/luatexdir/luatex.c
+++ b/Build/source/texk/web2c/luatexdir/luatex.c
@@ -654,10 +654,7 @@ static void ipc_snd(int n, int is_eof, char *data)
/* This routine notifies the server if there is an eof, or the filename
- if a new DVI file is starting. This is the routine called by TeX.
- Aleph defines str_start(#) as str_start_ar[# - too_big_char], with
- too_big_char = biggest_char + 1 = 65536 (omstr.ch).*/
-
+ if a new DVI file is starting. This is the routine called by TeX. */
void ipcpage(int is_eof)
{
static boolean begun = false;
@@ -675,7 +672,7 @@ void ipcpage(int is_eof)
preview program. */
name = static_pdf->file_name;
p = concat3(cwd, DIR_SEP_STRING, name);
- /* free(name); */
+ free(cwd);
len = strlen(p);
begun = true;
}