summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-09-19 20:24:30 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-09-19 20:24:30 +0000
commit5785a9ac39e7742d6b593b330dbb12a75f88cdfc (patch)
tree84ddd006d4137b0e458e57284679cfa70401f3c6 /Build/source/texk/web2c/mplibdir/mpmathdecimal.w
parent39b18baf27f6064d527e0eef7efc6ed8b8002e33 (diff)
mplibdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@45335 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mplibdir/mpmathdecimal.w')
-rw-r--r--Build/source/texk/web2c/mplibdir/mpmathdecimal.w9
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
index aa86e2b650f..6503b8320fe 100644
--- a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
+++ b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
@@ -608,10 +608,11 @@ void mp_free_decimal_math (MP mp) {
free_number (((math_data *)mp->math)->p_over_v_threshold_t);
free_number (((math_data *)mp->math)->equation_threshold_t);
free_number (((math_data *)mp->math)->tfm_warn_threshold_t);
- for (i = 0; i <= last_cached_factorial; i++) {
- free(factorials[i]);
- }
- free(factorials);
+ /* For sake of speed, we accept this memory leak. */
+ /* for (i = 0; i <= last_cached_factorial; i++) {*/
+ /* free(factorials[i]);*/
+ /* }*/
+ /* free(factorials); */
free(mp->math);
}