[m-dev.] diff: fix memory leak in semaphore.m

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Sep 14 11:55:39 AEDT 2000


On 13-Sep-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> 
> Found the memory leak!

Great -- BTW, how did you end up finding it?

> +:- pragma c_code("
> +#ifdef CONSERVATIVE_GC
> +  void finalize_semaphore(GC_PTR obj, GC_PTR cd)

That function should have an `ME_' prefix.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list