summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-12-18 13:51:59 -0500
committerFlorin Coras <florin.coras@gmail.com>2017-12-18 23:12:11 +0000
commit97b1a27130d540ef7046638b9b3e01d83be71c14 (patch)
treec8aa10d90f48c6a32add53b45edfda54187a49fe /src
parentbbfa303097b4a0576b6e01d75a3d04e49fc53767 (diff)
session api: Fix Coverity Warning CID 180115
Change-Id: I87e3de556910851d16af343bfcbede49500843ff Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vnet/session/session_api.c2
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);