diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-18 06:36:05 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-18 06:36:05 +0000 |
commit | 44e98ed6c0efe8227737e1df2df23550d8c790a9 (patch) | |
tree | ad9a4a938b9211c0ce1393ae50055edf1d3e5a18 /Build/source/texk/web2c/luatexdir/luatex.c | |
parent | 160c15e5ecc6084ba75acf0d373278879f2150ec (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/luatex.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.c | 7 |
1 files changed, 2 insertions, 5 deletions
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; } |