The callback is valid until the GDestroyNotify argument is called.
Free data after the code is done.
Don't free data after the code is done.