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-08 16:59:26 +0200 |
commit | 647f9e05561ea472e2bac4d582f0b47ba087e974 (patch) | |
tree | c6d68edf57247467ed564da24dff68f217bfc50d | |
parent | 3efe8ad3c5896abf926249026e6ace00bfcd9288 (diff) |
Remove redundant unrefguppy_7.0.4guppy_7.0.3guppy_7.0.2guppy/7.0.4guppy/7.0.3guppy/7.0.27.0.47.0.37.0.2guppy
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>
-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( |