settings: Duplicate string gvalues
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 <fourdan@xfce.org> Closes: #406 (cherry picked from commit 056ba6ad)
parent
124dfe47
No related branches found
No related tags found
Please register or sign in to comment