gmem: Clarify that a NULL check is not needed before calling g_free()
It was documented before, but wasn’t especially clear. Doing if (X) g_free (X); is apparently quite a pervasive real-world anti-pattern, so perhaps it could be documented more explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=741779
parent
984576c0
Please register or sign in to comment