diff options
author | Norbert Preining <preining@logic.at> | 2018-11-14 09:01:51 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2018-11-14 09:01:51 +0000 |
commit | b706d0051d16f8ce033d1d6a001c9ba337f26d0c (patch) | |
tree | 647134194c4f6fbbc103145c7395f928f76095c7 /Build | |
parent | 9086c007f3d684a7e86e4f56cb8c3914ca3a16d1 (diff) |
memory fixes from Andreas (pull request #8)
git-svn-id: svn://tug.org/texlive/trunk@49154 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/printversion.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index d68f0cbecb3..37002a0a0f5 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,7 @@ +2018-11-14 Andreas Scherer <https://ascherer.github.io> + + * printversion.c: free xmalloc'd prog_name. + 2018-11-13 Karl Berry <karl@freefriends.org> * texmfmp.c (FORCE_SOURCE_DATE_set, SOURCE_DATE_EPOCH_set): new static. diff --git a/Build/source/texk/web2c/lib/printversion.c b/Build/source/texk/web2c/lib/printversion.c index cba87a94922..5849ce23f45 100644 --- a/Build/source/texk/web2c/lib/printversion.c +++ b/Build/source/texk/web2c/lib/printversion.c @@ -67,5 +67,7 @@ printversionandexit (const_string banner, if (extra_info) fputs (extra_info, stdout); + free (prog_name); + uexit (0); } |