(mu_stream_vprintf): Bugfix.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -515,7 +515,7 @@ mu_stream_vprintf (mu_stream_t os, mu_off_t *poff, const char *fmt, va_list ap) | ... | @@ -515,7 +515,7 @@ mu_stream_vprintf (mu_stream_t os, mu_off_t *poff, const char *fmt, va_list ap) |
515 | free (buf); | 515 | free (buf); |
516 | return ENOMEM; | 516 | return ENOMEM; |
517 | } | 517 | } |
518 | newbuf = realloc (buf, buflen); | 518 | newbuf = realloc (buf, newlen); |
519 | if (newbuf == NULL) | 519 | if (newbuf == NULL) |
520 | { | 520 | { |
521 | free (buf); | 521 | free (buf); | ... | ... |
-
Please register or sign in to post a comment