changeset 95860:353a9f7910cf

* lread.c (Fload): Use xfree, not free on saved_doc_string. Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
author Jim Meyering <jim@meyering.net>
date Thu, 12 Jun 2008 22:54:12 +0000
parents 9ae1040f70e5
children 68d75e0e5365
files src/ChangeLog src/lread.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 12 22:53:07 2008 +0000
+++ b/src/ChangeLog	Thu Jun 12 22:54:12 2008 +0000
@@ -1,3 +1,7 @@
+2008-06-12  Emanuele Giaquinta <emanuele.giaquinta@gmail.com>  (tiny change)
+
+	* lread.c (Fload): Use xfree, not free on saved_doc_string.
+
 2008-06-12  Jim Meyering  <meyering@redhat.com>
 
 	make unexec_free handle NULL the same way free does
--- a/src/lread.c	Thu Jun 12 22:53:07 2008 +0000
+++ b/src/lread.c	Thu Jun 12 22:54:12 2008 +0000
@@ -1269,7 +1269,7 @@
 
   UNGCPRO;
 
-  free (saved_doc_string);
+  xfree (saved_doc_string);
   saved_doc_string = 0;
   saved_doc_string_size = 0;