This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with _tmpnam_r



_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