tests: Fix a leak in gdbus-test-codegen test
The ay
property has type string
(see the generated code) since it’s
not been annotated to force accepting a GVariant
.
This means the GObject property machinery expects a string, and calls
g_strdup()
on the passed-in pointer, rather than sinking the
GVariant
.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Helps: #2312 (closed)
Closes #2312 (closed)