If err is NULL, does nothing. If err is non-NULL, calls g_error_free() on *err and sets *err to NULL.
a GError return location
See Implementation
If err is NULL, does nothing. If err is non-NULL, calls g_error_free() on *err and sets *err to NULL.