]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Avoid unnecessary copying operations in FileStream.read_line()
authorZhou Qiankang <wszqkzqk@qq.com>
Mon, 1 Apr 2024 09:02:42 +0000 (17:02 +0800)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 4 Apr 2024 10:51:19 +0000 (12:51 +0200)
vapi/glib-2.0.vapi

index 55c90cd30906892c3f8f58c6477df133d5739db9..3210aa7458c9e0b0fd61ceccba39525b6a2de629 100644 (file)
@@ -4111,7 +4111,7 @@ namespace GLib {
                        if (ret == null) {
                                return null;
                        } else {
-                               return ((!)(ret)).str;
+                               return (owned) ((!)(ret)).str;
                        }
                }
        }