diff options
| author | David Schultz <das@FreeBSD.org> | 2011-03-09 06:14:33 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2011-03-09 06:14:33 +0000 |
| commit | 21a2b1c905e6a3ae73e3ca075627e81a2ccac58f (patch) | |
| tree | 80228e2b243573cbd695c52e7a912cc1643cd1b2 /g__fmt.c | |
| parent | 9ea4d2a87415d5928272c15f22583103f2ccfe30 (diff) | |
Notes
Diffstat (limited to 'g__fmt.c')
| -rw-r--r-- | g__fmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ g__fmt(char *b, char *s, char *se, int decpt, ULong sign, size_t blen) if (!(s0 = decimalpoint_cache)) { s0 = localeconv()->decimal_point; dlen = strlen(s0); - if ((decimalpoint_cache = (char*)malloc(strlen(s0) + 1))) { + if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) { strcpy(decimalpoint_cache, s0); s0 = decimalpoint_cache; } |
