src/amf/amfd/su.cc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/src/amf/amfd/su.cc b/src/amf/amfd/su.cc
--- a/src/amf/amfd/su.cc
+++ b/src/amf/amfd/su.cc
@@ -1423,9 +1423,10 @@ static SaAisErrorT su_rt_attr_cb(SaImmOi
                                }
                                rc = 
avd_saImmOiRtObjectUpdate_multival_sync(obj_name, attributeName,
                                                SA_IMM_ATTR_SANAMET, temp, 
assigned_si);
+                               j = 0;
                                for (AVD_SU_SI_REL *susi = su->list_of_susi; 
susi != nullptr; susi = susi->su_next) {
-                                       j = 0;
                                        osaf_extended_name_free(siName + j);
+                                       j = j + 1;
                                }
                                delete [] siName;
                                delete [] attrValues;

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to