Skip to content

settings: Duplicate string gvalues

Olivier Fourdan requested to merge olivier/xfwm4:issue406 into master

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 (closed)

Merge request reports