Version française
Home     About     Download     Resources     Contact us    
Browse thread
Caml-Exceptions from C-Code and handlingh of Caml-allocations
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Caml-Exceptions from C-Code and handlingh of Caml-allocations
Hello,

when throwing Caml-exceptions from C-Code,
it's clear to me to deallocate C-allocated stuff by myself,
as I would do in pure C applications also.

But will throwing Caml-exceptions from C automatically free
the CAML<something> / caml_alloc allocated stuff?
(This is what I would expect, but I'm not sure on that.)

TIA,
   Oliver