• Tomasz Miąsko's avatar
    gparam: Remove unsynchronized write to g_type field · fba7f7e0
    Tomasz Miąsko authored
    GValue g_type field is used for synchronization with g_once_init_enter,
    and so it should be written to only with g_once_init_leave.
    
    Replace structure copy with memcpy that copies the one remaining field
    of GValue, i.e., data array.
    fba7f7e0