[glibmm/glibmm-2-50] Gio::DBus::Proxy: Fix memory leak in get_cached_property_names()



commit 793bf2867525a6ea1e12ef5f0823d3db07736b08
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Mon Dec 5 19:22:01 2016 +0100

    Gio::DBus::Proxy: Fix memory leak in get_cached_property_names()
    
    Bug 775210

 gio/src/dbusproxy.hg |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/dbusproxy.hg b/gio/src/dbusproxy.hg
index 2e3729f..a6e7419 100644
--- a/gio/src/dbusproxy.hg
+++ b/gio/src/dbusproxy.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
 /* Copyright (C) 2010 The giomm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -255,7 +253,7 @@ public:
 
   _WRAP_METHOD(void set_cached_property(const Glib::ustring& property_name, const Glib::VariantBase& value), 
g_dbus_proxy_set_cached_property)
 
-#m4 _CONVERSION(`gchar**', `Glib::StringArrayHandle', `Glib::StringArrayHandle($3)')
+#m4 _CONVERSION(`gchar**', `Glib::StringArrayHandle', `Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)')
   _WRAP_METHOD(Glib::StringArrayHandle get_cached_property_names() const, 
g_dbus_proxy_get_cached_property_names)
 
   _WRAP_METHOD(void set_interface_info(const Glib::RefPtr<InterfaceInfo>& info), 
g_dbus_proxy_set_interface_info)


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