Below is the declaration code of the g_autofree macro. As it can be seen, it blindly calls g_free on the pointer… WHY?
g_autofree
g_free