This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is this a bug in libffi testsuite on solaris2.8?


Robert Dewar writes:
 > > On the heap -- where's the problem?  This is no more likely to cause a
 > > memory leak than any other use of malloc().
 > > 
 > > Andrew.
 > 
 > I don't see that, if a user uses malloc, then it is up to the user to do the
 > free. here we have an implicit use of malloc,

No we don't.  It's up to the caller to provide the memory.

Andrew.


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