kopia lustrzana https://gitlab.com/Zwarf/picplanner
933089cf6f
g_autofree will automatically free variables when they go out of scope. g_autoptr will do the same, but using the appropriate freefunc for the given type, e.g. GDateTime -> g_date_time_unref() or GObject -> g_object_unref(). This automatic cleanup reduces the risk of memory leaks and allows getting rid of some lines of code. |
||
---|---|---|
.. | ||
search.c | ||
search.h |