diff options
| author | Eli Zaretskii | 2021-06-07 15:03:06 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-06-09 15:35:38 +0300 |
| commit | b94532f02883988aec5ea9b0e4a06bcfe28b2268 (patch) | |
| tree | 2e9dd8a085b5b651ea7b4ffc96019b96add5fda5 /src | |
| parent | 37f44579946380ec13f7929360f8f552334362d4 (diff) | |
| download | emacs-b94532f02883988aec5ea9b0e4a06bcfe28b2268.tar.gz emacs-b94532f02883988aec5ea9b0e4a06bcfe28b2268.zip | |
* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884)
(cherry picked from commit 69a65212a233333ab0605374b4985ead23f4a541)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 77c9af747c3..8dcecc2be65 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -10592,6 +10592,9 @@ include the height of both, if present, in the return value. */) | |||
| 10592 | it.max_descent = max (it.max_descent, it.descent); | 10592 | it.max_descent = max (it.max_descent, it.descent); |
| 10593 | } | 10593 | } |
| 10594 | } | 10594 | } |
| 10595 | else | ||
| 10596 | bidi_unshelve_cache (it2data, true); | ||
| 10597 | |||
| 10595 | if (!NILP (x_limit)) | 10598 | if (!NILP (x_limit)) |
| 10596 | { | 10599 | { |
| 10597 | /* Don't return more than X-LIMIT. */ | 10600 | /* Don't return more than X-LIMIT. */ |