From afd74e25697c70906fb21fa995fe8eb53f36aabb Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 5 Aug 2000 19:26:20 +0000 Subject: [PATCH] (Ftranspose_regions): Use xfree instead of free. --- src/editfns.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index d469a9908d9..ae6befd5a7f 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3590,7 +3590,7 @@ Transposing beyond buffer boundaries is an error.") bcopy (start1_addr, start1_addr + len2_byte, len1_byte); bcopy (temp, start1_addr, len2_byte); if (len2_byte > 20000) - free (temp); + xfree (temp); } else /* First region not smaller than second. */ @@ -3605,7 +3605,7 @@ Transposing beyond buffer boundaries is an error.") bcopy (start2_addr, start1_addr, len2_byte); bcopy (temp, start1_addr + len2_byte, len1_byte); if (len1_byte > 20000) - free (temp); + xfree (temp); } graft_intervals_into_buffer (tmp_interval1, start1 + len2, len1, current_buffer, 0); @@ -3643,7 +3643,7 @@ Transposing beyond buffer boundaries is an error.") bcopy (start2_addr, start1_addr, len2_byte); bcopy (temp, start2_addr, len1_byte); if (len1_byte > 20000) - free (temp); + xfree (temp); graft_intervals_into_buffer (tmp_interval1, start2, len1, current_buffer, 0); graft_intervals_into_buffer (tmp_interval2, start1, @@ -3673,7 +3673,7 @@ Transposing beyond buffer boundaries is an error.") safe_bcopy (start1_addr + len1_byte, start1_addr + len2_byte, len_mid); bcopy (temp, start1_addr, len2_byte); if (len2_byte > 20000) - free (temp); + xfree (temp); graft_intervals_into_buffer (tmp_interval1, end2 - len1, len1, current_buffer, 0); graft_intervals_into_buffer (tmp_interval_mid, start1 + len2, @@ -3705,7 +3705,7 @@ Transposing beyond buffer boundaries is an error.") bcopy (start1_addr + len1_byte, start1_addr + len2_byte, len_mid); bcopy (temp, start1_addr + len2_byte + len_mid, len1_byte); if (len1_byte > 20000) - free (temp); + xfree (temp); graft_intervals_into_buffer (tmp_interval1, end2 - len1, len1, current_buffer, 0); graft_intervals_into_buffer (tmp_interval_mid, start1 + len2, -- 2.39.2