From: Gerd Moellmann Date: Sat, 5 Aug 2000 19:26:20 +0000 (+0000) Subject: (Ftranspose_regions): Use xfree instead of free. X-Git-Tag: emacs-pretest-21.0.90~2483 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afd74e25697c70906fb21fa995fe8eb53f36aabb;p=emacs.git (Ftranspose_regions): Use xfree instead of free. --- 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,