This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
reent fix
- From: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- To: newlib at sources dot redhat dot com
- Date: Mon, 10 May 2004 18:02:36 +0400
- Subject: reent fix
Hello. Here is one more small reent fix for vfprintf.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
Index: vfprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vfprintf.c,v
retrieving revision 1.33
diff -r1.33 vfprintf.c
1204c1204
< free (malloc_buf);
---
> _free_r (data, malloc_buf);
1212c1212
< free (malloc_buf);
---
> _free_r (data, malloc_buf);