osaf/services/saf/amf/amfd/ckpt_dec.cc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/osaf/services/saf/amf/amfd/ckpt_dec.cc 
b/osaf/services/saf/amf/amfd/ckpt_dec.cc
--- a/osaf/services/saf/amf/amfd/ckpt_dec.cc
+++ b/osaf/services/saf/amf/amfd/ckpt_dec.cc
@@ -1334,8 +1334,9 @@ static uint32_t dec_su_oper_state(AVD_CL
        TRACE_ENTER();
 
        osaf_decode_sanamet(&dec->i_uba, &name);
-       AVD_SU *su = su_db->find(Amf::to_string(&name));
-       osafassert(su != NULL);
+       
+       AVD_SU *su = avd_su_get_or_create(&name);
+       
        osaf_decode_uint32(&dec->i_uba, (uint32_t*)&su->saAmfSUOperState);
 
        cb->async_updt_cnt.su_updt++;

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to