diff options
author | Dmitry Antipov <[email protected]> | 2012-06-27 15:25:56 +0400 |
---|---|---|
committer | Dmitry Antipov <[email protected]> | 2012-06-27 15:25:56 +0400 |
commit | 43184b7b885b57316e6788fa122465498759707f (patch) | |
tree | 458c2eb25dbfead1db537d2f51478cb82d9c2d72 | |
parent | 3fe6dd74d02291b80a35fcc45df2cef91a8dac9f (diff) |
* alloc.c (allocate_string): Fix last change.
-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 0c3568efb4..169f0e4a67 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2012-06-27 Dmitry Antipov <[email protected]> + * alloc.c (allocate_string): Fix last change. + +2012-06-27 Dmitry Antipov <[email protected]> + * 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 d7ebd556f0..8111487ace 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; |