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




commit ce64f22f580f217b7762f389f3ea3929792e19a2
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]