gdk_rgba_copy() dynamically allocates the copy. Do not use that, instead simply copy the value as-is.
gdk_rgba_copy()