projects
/
browser-dbus-bridge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20645e8
)
[xpcom] PendingCall needs to be unreffed always
author
Kalle Vahlman
<kalle.vahlman@movial.com>
Thu, 30 Apr 2009 10:27:21 +0000
(13:27 +0300)
committer
Kalle Vahlman
<kalle.vahlman@movial.com>
Thu, 30 Apr 2009 10:27:21 +0000
(13:27 +0300)
xpcom-dbusservice/DBusMethod.cpp
patch
|
blob
|
history
diff --git
a/xpcom-dbusservice/DBusMethod.cpp
b/xpcom-dbusservice/DBusMethod.cpp
index c121f1696c20be2ea6f2afb0a55a3cf69c56a9ed..bee1e99debc3afcd88ef29db30a97ee5297f5c3c 100644
(file)
--- a/
xpcom-dbusservice/DBusMethod.cpp
+++ b/
xpcom-dbusservice/DBusMethod.cpp
@@
-330,10
+330,10
@@
DBusMethod::DoCall(nsIVariant **aArgs, PRUint32 aCount)
BDBLOG((" do sync reply callback\n"));
dbus_pending_call_block(pending);
reply = dbus_pending_call_steal_reply (pending);
- dbus_pending_call_unref (pending);
DoCallBack(this, reply);
dbus_message_unref(reply);
}
+ dbus_pending_call_unref (pending);
}
else
{