diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2017-12-18 13:51:59 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-12-18 23:12:11 +0000 |
commit | 97b1a27130d540ef7046638b9b3e01d83be71c14 (patch) | |
tree | c8aa10d90f48c6a32add53b45edfda54187a49fe | |
parent | bbfa303097b4a0576b6e01d75a3d04e49fc53767 (diff) |
session api: Fix Coverity Warning CID 180115
Change-Id: I87e3de556910851d16af343bfcbede49500843ff
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rwxr-xr-x | src/vnet/session/session_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 1fd84ab7c43..804fc23539a 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -675,7 +675,7 @@ done: { rmp->handle = a->handle; rmp->lcl_port = mp->port; - if (application_has_global_scope (app)) + if (app && application_has_global_scope (app)) { s = listen_session_get_from_handle (a->handle); tc = listen_session_get_transport (s); |