g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [YET-ANOTHER-MERGE-REQUEST] Memory leak in `out' and `caller-owned'


From: Ludovic Courtès
Subject: Re: [YET-ANOTHER-MERGE-REQUEST] Memory leak in `out' and `caller-owned' strings
Date: Fri, 27 Jan 2006 10:17:16 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> I was about to add a test function to `test-standard-spec.scm' but I
> stopped when I found `gw-test-out-args' whose last argument typespec
> options are `(mchars out callee-owned)'.  What can possibly be the
> meaning of `out callee-owned'?

It can be: "the callee is returning a pointer to a constant string that
doesn't need to be freed at all"!

Ok, got it.  ;-)

Ludovic.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]