[glibmm/glibmm-2-66: 1/2] fileenumerator.hg: Remove refreturn to avoid memory leak




commit 7e54eb969c5096a292c8e9f7df2d102afc2d69e0
Author: talisein <agpotter gmail com>
Date:   Sat Jul 10 20:26:31 2021 +0000

    fileenumerator.hg: Remove refreturn to avoid memory leak

 gio/src/fileenumerator.hg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/src/fileenumerator.hg b/gio/src/fileenumerator.hg
index e432d0d5..4641cc1b 100644
--- a/gio/src/fileenumerator.hg
+++ b/gio/src/fileenumerator.hg
@@ -137,8 +137,8 @@ public:
   _WRAP_METHOD(Glib::RefPtr<File> get_container(), g_file_enumerator_get_container, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const File> get_container() const, g_file_enumerator_get_container, refreturn)
 
-  _WRAP_METHOD(Glib::RefPtr<File> get_child(const Glib::RefPtr<FileInfo>& info), 
g_file_enumerator_get_child, refreturn)
-  _WRAP_METHOD(Glib::RefPtr<const File> get_child(const Glib::RefPtr<FileInfo>& info) const, 
g_file_enumerator_get_child, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<File> get_child(const Glib::RefPtr<FileInfo>& info), g_file_enumerator_get_child)
+  _WRAP_METHOD(Glib::RefPtr<const File> get_child(const Glib::RefPtr<FileInfo>& info) const, 
g_file_enumerator_get_child)
 
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]