Memory Management
Apertis is predominantly written in C, so dynamically allocated memory has to be managed manually. Through use of GLib convenience APIs, memory management can be trivial, but programmers always need to keep memory in mind when writing code.
It is assumed that users of Apertis are familiar with the idea of heap allocation of memory using malloc() and free(), and know of the GLib equivalents, g_malloc() and g_free().
Summary There are three situations to avoid, in order of descending importance:
[Read More]