On Tue, 29 Sep 2009, John Peterson wrote:

> I don't think this is PETSc's bug, they are just calling getpwuid()...

Do they call endpwent() when they're done with it?

I think getpwuid implementations typically return pointers to
allocated instead of static memory, for thread safety, but some
implementations do use static buffers so you can't portably use
free().
---
Roy

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to