diff options
Diffstat (limited to 'lib-src/make-docfile.c')
| -rw-r--r-- | lib-src/make-docfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 945a92076d2..1cf63e3ab31 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -909,7 +909,7 @@ scan_lisp_file (filename, mode) | |||
| 909 | /* Read in the contents. */ | 909 | /* Read in the contents. */ |
| 910 | if (saved_string != 0) | 910 | if (saved_string != 0) |
| 911 | free (saved_string); | 911 | free (saved_string); |
| 912 | saved_string = (char *) malloc (length); | 912 | saved_string = (char *) xmalloc (length); |
| 913 | for (i = 0; i < length; i++) | 913 | for (i = 0; i < length; i++) |
| 914 | saved_string[i] = getc (infile); | 914 | saved_string[i] = getc (infile); |
| 915 | /* The last character is a ^_. | 915 | /* The last character is a ^_. |