]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884)
authorEli Zaretskii <eliz@gnu.org>
Mon, 7 Jun 2021 12:03:06 +0000 (15:03 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 7 Jun 2021 12:03:06 +0000 (15:03 +0300)
src/xdisp.c

index e761ef8b37c8e52754a62ed24082c3513756fb46..6854fa03fe8693c0f035efa52ace8ad19fcac062 100644 (file)
@@ -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.  */