C extension: "malloc" and "rb_raise"

  • Thread starter Iñaki Baz Castillo
  • Start date
I

Iñaki Baz Castillo

Hi, if I use "malloc" in a Ruby C function and then call to "rb_raise" (so =
the=20
program exists), will the allocated memory be released? (if not I get a mem=
ory=20
leak).
Perhaps Ruby havs a garbage collector for C?

Thanks.

=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top