• Olivier Fourdan's avatar
    settings: Duplicate string gvalues · 056ba6ad
    Olivier Fourdan authored
    The gvalues strings were considered statics, hence not duplicated.
    
    As the caller frees the strings after setting the gvalue, the actual
    content would end up pointing at free data.
    
    Consider string gvalues as regular strings, meaning that the given
    string value is duplicated as a gvalue.
    Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <fourdan@xfce.org>
    Closes: #406
    056ba6ad
parserc.c 8.32 KB