diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-08-10 15:01:53 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-08-10 15:01:53 +0200 |
commit | 786e4ceb66569c307edcd4fd27290e4c7cbb192a (patch) | |
tree | 83bae92d2b20a5e29707e31e99401644e75f8d83 /TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp | |
parent | 2de77538d1c27db849df7f0febeeca1a711227aa (diff) | |
download | ATCD-786e4ceb66569c307edcd4fd27290e4c7cbb192a.tar.gz |
Initialise pointer with zero
* TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp:
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp b/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp index f879909fc52..1a4242e0cb0 100644 --- a/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/INS_Locator.cpp @@ -47,7 +47,7 @@ INS_Locator::async_locate (::IORTable::Locate_ResponseHandler handler, ACE_CString full (object_key); if (this->imr_locator_.split_key (full, key, si)) { - ImR_ResponseHandler *rh; + ImR_ResponseHandler *rh = 0; ACE_NEW (rh, INS_Loc_ResponseHandler (key.c_str(), handler)); this->imr_locator_.activate_server_by_info (si, rh); } |