From: Eli Zaretskii Date: Mon, 7 Jun 2021 12:03:06 +0000 (+0300) Subject: * src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884) X-Git-Tag: emacs-28.0.90~2171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69a65212a233333ab0605374b4985ead23f4a541;p=emacs.git * src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884) --- diff --git a/src/xdisp.c b/src/xdisp.c index e761ef8b37c..6854fa03fe8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10795,6 +10795,9 @@ include the height of both, if present, in the return value. */) it.max_descent = max (it.max_descent, it.descent); } } + else + bidi_unshelve_cache (it2data, true); + if (!NILP (x_limit)) { /* Don't return more than X-LIMIT. */