Problem with _tmpnam_r

Stuart J Adams sja@world.std.com
Tue Jun 23 21:01:00 GMT 1998


_tmpnam_r(NULL) uses malloc instead of returning a static buf
and as such represents a major memory leak in to most 
code wich does not expect to have to free the pointer _tmpnam_r
returns.

-- Stuart




More information about the Newlib mailing list