aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 8111487ace2..a16e3a6d83f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1959,10 +1959,6 @@ allocate_string (void)
1959 1959
1960 MALLOC_UNBLOCK_INPUT; 1960 MALLOC_UNBLOCK_INPUT;
1961 1961
1962 /* SIZE and SIZE_BYTE fields will be initialized
1963 by calling allocate_string_data. */
1964 s->intervals = NULL_INTERVAL;
1965
1966 --total_free_strings; 1962 --total_free_strings;
1967 ++total_strings; 1963 ++total_strings;
1968 ++strings_consed; 1964 ++strings_consed;
@@ -2529,6 +2525,7 @@ make_uninit_multibyte_string (EMACS_INT nchars, EMACS_INT nbytes)
2529 return empty_multibyte_string; 2525 return empty_multibyte_string;
2530 2526
2531 s = allocate_string (); 2527 s = allocate_string ();
2528 s->intervals = NULL_INTERVAL;
2532 allocate_string_data (s, nchars, nbytes); 2529 allocate_string_data (s, nchars, nbytes);
2533 XSETSTRING (string, s); 2530 XSETSTRING (string, s);
2534 string_chars_consed += nbytes; 2531 string_chars_consed += nbytes;