In other cases we need to free value, but in this case it was used and trying to free it caused a GIMP to crash. Let's duplicate value, so we don't need to special case our g_free.