diff options
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/alloc.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0c3568efb4f..169f0e4a673 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2012-06-27 Dmitry Antipov <dmantipov@yandex.ru> + * alloc.c (allocate_string): Fix last change. + +2012-06-27 Dmitry Antipov <dmantipov@yandex.ru> + * alloc.c (allocate_string): Remove two redundant calls to memset, add explicit initialization where appropriate. diff --git a/src/alloc.c b/src/alloc.c index d7ebd556f00..8111487ace2 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -1962,7 +1962,6 @@ allocate_string (void) /* SIZE and SIZE_BYTE fields will be initialized by calling allocate_string_data. */ s->intervals = NULL_INTERVAL; - s->data = NULL; --total_free_strings; ++total_strings; |