Mercurial > hg > xemacs-beta
comparison src/insdel.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | 1b0339b048ce |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
1822 uninit_buffer_text (struct buffer *b) | 1822 uninit_buffer_text (struct buffer *b) |
1823 { | 1823 { |
1824 if (!b->base_buffer) | 1824 if (!b->base_buffer) |
1825 { | 1825 { |
1826 BUFFER_FREE (b->text->beg); | 1826 BUFFER_FREE (b->text->beg); |
1827 xfree (b->text->changes); | 1827 xfree (b->text->changes, struct buffer_text_change_data *); |
1828 } | 1828 } |
1829 xfree (b->changes); | 1829 xfree (b->changes, struct each_buffer_change_data *); |
1830 | 1830 |
1831 #ifdef REGION_CACHE_NEEDS_WORK | 1831 #ifdef REGION_CACHE_NEEDS_WORK |
1832 if (b->newline_cache) | 1832 if (b->newline_cache) |
1833 { | 1833 { |
1834 free_region_cache (b->newline_cache); | 1834 free_region_cache (b->newline_cache); |