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



commit c972416f0d5c32ebda195b5d58f9d2f1b234f577
Author: talisein <agpotter gmail com>
Date:   Sat Jul 10 16:08:21 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 7587977e..ea814fe5 100644
--- a/gio/src/fileenumerator.hg
+++ b/gio/src/fileenumerator.hg
@@ -135,8 +135,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]