diff options
-rw-r--r-- | e-util/e-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 82799d280f..fb18db91ca 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -888,7 +888,7 @@ e_format_number (gint number) } if (list) { - value = g_new(char, char_length + (group_count - 1) * strlen(locality->thousands_sep)); + value = g_new(char, 1 + char_length + (group_count - 1) * strlen(locality->thousands_sep)); iterator = list; value_iterator = value; |