diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2019-05-08 16:56:47 +0200 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2019-05-09 12:32:47 +0000 |
commit | 003cdfb640b595345b0d4d09471872c9295d0bc7 (patch) | |
tree | 0abf6b225fd7da515fa4f79a964cfb17c1e423a0 | |
parent | 1fc523e117a23961ad47001424de2fb42176c565 (diff) |
Remove redundant unreficefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibut
The on_reply callback unrefs the msg pointer, but that's already unref
by the application framework after the callback returns.
Bug-AGL : SPEC-2310
Change-Id: Ifda4f42889d3ea61f317e7919d7a506d3b4402b8
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
(cherry picked from commit 647f9e05561ea472e2bac4d582f0b47ba087e974)
-rw-r--r-- | src/libwindowmanager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp index 8e523b2..65684f1 100644 --- a/src/libwindowmanager.cpp +++ b/src/libwindowmanager.cpp @@ -709,7 +709,6 @@ private: callsync *call = reinterpret_cast<callsync*>(closure); call->onReply_(call->ok_ = afb_wsj1_msg_is_reply_ok(msg), afb_wsj1_msg_object_j(msg)); call->cond_.notify_one(); - afb_wsj1_msg_unref(msg); } public: callsync( |