[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


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?


Martin Kalbfuß <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]