diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-20 18:40:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-20 18:40:37 +0000 |
commit | ba4436784d91f5588b7eb0f58debe42e07769d2e (patch) | |
tree | 8e8844f39c5981b1f522461612e038b4bf7873fe /Build/source/texk/web2c/pdftexdir | |
parent | e65b2a64508243e4279778a8555868815dd87acd (diff) |
xmalloc not malloc
git-svn-id: svn://tug.org/texlive/trunk@57477 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ptexmac.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index d4c1ec7074a..d8649a38d30 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,6 +1,7 @@ 2021-01-20 Karl Berry <karl@freefriends.org> * NEWS: update. + * ptexmac.h (undumpcharptr): use xmalloc, not malloc. 2021-01-20 Marcel Fabian Krueger <tex@2krueger.de> @@ -9,7 +10,7 @@ * ptexlib.h ((un)dumptounicode): declare. * tounicode.c ((un)dumptounicode): define. * ptexmac.h ((un)dumpcharptr): #define here, from writeimg.c - (using generic_dump). Use xmalloc instead of malloc. + (using generic_dump). * writeimg.c: #defines moved. ntg-pdftex mail, 17 Jan 2021 21:47:33. diff --git a/Build/source/texk/web2c/pdftexdir/ptexmac.h b/Build/source/texk/web2c/pdftexdir/ptexmac.h index cebb279138a..30e8e744c61 100644 --- a/Build/source/texk/web2c/pdftexdir/ptexmac.h +++ b/Build/source/texk/web2c/pdftexdir/ptexmac.h @@ -237,7 +237,7 @@ size_t T##_limit char *a; \ generic_undump (x); \ if (x>0) { \ - a = malloc(x); \ + a = xmalloc(x); \ undumpthings(*a,x); \ s = a ; \ } else { s = NULL; } \ |