diff options
Diffstat (limited to 'Build/source/texk/web2c/mplibdir/mp.w')
-rw-r--r-- | Build/source/texk/web2c/mplibdir/mp.w | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mplibdir/mp.w b/Build/source/texk/web2c/mplibdir/mp.w index dc3a7e1b879..682fb4e53fc 100644 --- a/Build/source/texk/web2c/mplibdir/mp.w +++ b/Build/source/texk/web2c/mplibdir/mp.w @@ -2948,7 +2948,7 @@ void *mp_xmalloc (MP mp, size_t nmem, size_t size) { mp_jump_out (mp); } #endif - w = malloc (nmem * size); + w = calloc(nmem, size); /* TODO: check an un-initialize use of w and replace calloc with malloc. */ if (w == NULL) { mp_fputs ("Out of memory!\n", mp->err_out); mp->history = mp_system_error_stop; |