[m-users.] MR_GC_free ?

Volker Wysk <[email protected]> Tue, 07 Nov 2023 19:48:24 +0100
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Hi.

In the ODBC library, there's space allocated by MR_GC_NEW and explicitly
freed with MR_GC_free. This confuses me. Shouldn't space allocated by
MR_CG_NEW be deallocated by the garbage collector? If it is to be
deallocated explicitly, shouldn't the space be allocated by MR_NEW and be
deallocated by MR_free?

Cheers,
Volker
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users