]> code.delx.au - gnu-emacs/blobdiff - lib-src/make-docfile.c
* windows.texi (Cyclic Window Ordering, Cyclic Window Ordering)
[gnu-emacs] / lib-src / make-docfile.c
index 945a92076d2dd3242846581b0a9b602014dbc05c..219e9d24ac1de62828a7358f4bdfa6f9fd9735f7 100644 (file)
@@ -1,6 +1,6 @@
 /* Generate doc-string file for GNU Emacs from source files.
    Copyright (C) 1985, 1986, 1992, 1993, 1994, 1997, 1999, 2000, 2001,
-                 2002, 2003, 2004, 2005, 2006, 2007, 2008
+                 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
                  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -909,7 +909,7 @@ scan_lisp_file (filename, mode)
              /* Read in the contents.  */
              if (saved_string != 0)
                free (saved_string);
-             saved_string = (char *) malloc (length);
+             saved_string = (char *) xmalloc (length);
              for (i = 0; i < length; i++)
                saved_string[i] = getc (infile);
              /* The last character is a ^_.