osaf/libs/agents/saf/imma/imma_init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Since we have called imma_mds_register() at the point where
imma_sync_with_immnd() is called, we must call imma_mds_unregister() in the
error handling path.
diff --git a/osaf/libs/agents/saf/imma/imma_init.c
b/osaf/libs/agents/saf/imma/imma_init.c
--- a/osaf/libs/agents/saf/imma/imma_init.c
+++ b/osaf/libs/agents/saf/imma/imma_init.c
@@ -167,7 +167,7 @@ static uint32_t imma_create(NCSMDS_SVC_I
if (imma_sync_with_immnd(cb) != NCSCC_RC_SUCCESS) {
/* Needed to prevent endless TRY_AGAIN loop for first client.
*/
- goto mds_reg_fail;
+ goto edu_init_fail;
}
/* EDU initialisation ABT: Dont exactly know why we need this but... */
------------------------------------------------------------------------------
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