Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit a781b34

Browse files
authored
Merge pull request #554 from robszewczyk/bug/wdm-test-mock-bug
Fix test code for MockWdmSubscriptionResponder
2 parents f10d2af + 3297a1d commit a781b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test-apps/MockWdmSubscriptionResponder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ void MockWdmSubscriptionResponderImpl::PublisherEventCallback (void * const aApp
737737
aInParam.mSubscriptionEstablished.mHandler->GetBinding(),
738738
responder, ClientEventCallback,
739739
&(responder->mSinkCatalog), kResponseTimeoutMsec * 2);
740-
VerifyOrExit(err == WEAVE_NO_ERROR, gBinding->Release());
740+
SuccessOrExit(err);
741741

742742
// TODO: EVENT-DEMO
743743
responder->mSubscriptionClient->InitiateCounterSubscription(

0 commit comments

Comments
 (0)