diff options
| author | Pip Cet | 2024-07-22 14:40:27 +0000 |
|---|---|---|
| committer | Pip Cet | 2024-07-22 14:40:27 +0000 |
| commit | f4a41b4c5d082f85a14d7b2dbe44f290d3ceda0b (patch) | |
| tree | a5f4a32a9a6756e8c2773c5670bbba2477453132 /src/sort.c | |
| parent | c4682d3a38d52d120ec417bbdc3e6a99f56edf83 (diff) | |
| download | emacs-f4a41b4c5d082f85a14d7b2dbe44f290d3ceda0b.tar.gz emacs-f4a41b4c5d082f85a14d7b2dbe44f290d3ceda0b.zip | |
* src/sort.c (merge_getmem) [HAVE_MPS]: Use igc_xfree, not xfree.
Diffstat (limited to 'src/sort.c')
| -rw-r--r-- | src/sort.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sort.c b/src/sort.c index de1f8db6b56..b7c04f836f3 100644 --- a/src/sort.c +++ b/src/sort.c | |||
| @@ -630,7 +630,11 @@ merge_getmem (merge_state *ms, const ptrdiff_t need) | |||
| 630 | what's in the block we don't use realloc which would waste | 630 | what's in the block we don't use realloc which would waste |
| 631 | cycles copying the old data. We just free and alloc | 631 | cycles copying the old data. We just free and alloc |
| 632 | again. */ | 632 | again. */ |
| 633 | #ifdef HAVE_MPS | ||
| 634 | igc_xfree (ms->a.keys); | ||
| 635 | #else | ||
| 633 | xfree (ms->a.keys); | 636 | xfree (ms->a.keys); |
| 637 | #endif | ||
| 634 | } | 638 | } |
| 635 | ptrdiff_t bytes = (need * word_size) << (ms->a.values != NULL ? 1 : 0); | 639 | ptrdiff_t bytes = (need * word_size) << (ms->a.values != NULL ? 1 : 0); |
| 636 | # ifdef HAVE_MPS | 640 | # ifdef HAVE_MPS |