[glibmm] Gio::DBus::Proxy: Fix memory leak in get_cached_property_names()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::DBus::Proxy: Fix memory leak in get_cached_property_names()
- Date: Mon, 5 Dec 2016 18:14:18 +0000 (UTC)
commit 4efdcf7714e3e81c143f95e241894bf6177c9c41
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Mon Dec 5 19:10:39 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 8ac5083..4e5e582 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
@@ -258,7 +256,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]