diff --git a/libdino/tests/testcase.vala b/libdino/tests/testcase.vala index 87147604..59fcf193 100644 --- a/libdino/tests/testcase.vala +++ b/libdino/tests/testcase.vala @@ -48,7 +48,7 @@ public abstract class Gee.TestCase : Object { } public GLib.TestSuite get_suite () { - return this.suite; + return (owned) this.suite; } private class Adaptor { diff --git a/plugins/signal-protocol/tests/testcase.vala b/plugins/signal-protocol/tests/testcase.vala index 061ccc63..59fcf193 100644 --- a/plugins/signal-protocol/tests/testcase.vala +++ b/plugins/signal-protocol/tests/testcase.vala @@ -48,7 +48,7 @@ public abstract class Gee.TestCase : Object { } public GLib.TestSuite get_suite () { - return this.suite; + return (owned) this.suite; } private class Adaptor { @@ -77,4 +77,4 @@ public abstract class Gee.TestCase : Object { this.test_case.tear_down (); } } -} \ No newline at end of file +} diff --git a/xmpp-vala/tests/testcase.vala b/xmpp-vala/tests/testcase.vala index 9bdf5f6b..178b6353 100644 --- a/xmpp-vala/tests/testcase.vala +++ b/xmpp-vala/tests/testcase.vala @@ -56,7 +56,7 @@ public abstract class Gee.TestCase : Object { } public GLib.TestSuite get_suite () { - return this.suite; + return (owned) this.suite; } }