[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] exceptions and the heap.
From: |
Martin Kalbfuß |
Subject: |
[Gm2] exceptions and the heap. |
Date: |
Wed, 25 Nov 2009 03:39:33 +0100 |
Hi,
What happens to the allocated memory when an uncaught exception halts
the program? Do I need to catch the exception in every function which
allocates memory, free that memory and rethrow the exception? Or is the
memory automatically freed?
Thanks,
--
Martin Kalbfuß <address@hidden>
- [Gm2] exceptions and the heap.,
Martin Kalbfuß <=