diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-08-26 03:09:59 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-08-26 03:09:59 +0000 |
commit | 64e468d21ce306831ff8ab76f6704b1ffdafbea2 (patch) | |
tree | ba8b8501e2cfdf8f3b0fe4307478ec35005b29e7 /python/proxies.py | |
parent | c2ff73e5c695b538404b96f0f77eaabefc8cb3d7 (diff) |
* python/dbus_bindings.pyx: Tracked down a major memleak and fixed it
(EmptyMessage): new class that subclasses Message. This is a workaround
to a Pyrex bug that fails to call __del__ when the Message object goes out
of scope. For some reason subclassing Message fixes this bug
(Bus::send_with_reply_and_block): use EmptyMessage instead of Message
Diffstat (limited to 'python/proxies.py')
-rw-r--r-- | python/proxies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/proxies.py b/python/proxies.py index 42866426..f41a8de1 100644 --- a/python/proxies.py +++ b/python/proxies.py @@ -63,7 +63,7 @@ class ProxyMethod: else: reply_message = self._connection.send_with_reply_and_block(message, timeout) args_tuple = reply_message.get_args_list() - + if len(args_tuple) == 0: return elif len(args_tuple) == 1: |