diff options
Diffstat (limited to 'Build/source')
-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; } \ |