summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2019-05-08 16:56:47 +0200
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2019-05-09 12:32:47 +0000
commit003cdfb640b595345b0d4d09471872c9295d0bc7 (patch)
tree0abf6b225fd7da515fa4f79a964cfb17c1e423a0
parent1fc523e117a23961ad47001424de2fb42176c565 (diff)
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.cpp1
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(