osaf/libs/agents/saf/imma/imma_oi_api.c | 6 +-
osaf/libs/agents/saf/imma/imma_om_api.c | 84 +++
2 files changed, 50 insertions(+), 40 deletions(-)
In the IMM API's if ncs_lock fails with SA_AIS_ERR_LIBRARY, memory if any
aloocated in the API must be freed.
In the sa
Why would lock fail?
/Hans
> -Original Message-
> From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com]
> Sent: den 11 september 2013 14:44
> To: Anders Björnerstedt
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [devel] [PATCH 1 of 1] IMM: fix the
ail?
> /Hans
>
>> -Original Message-
>> From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com]
>> Sent: den 11 september 2013 14:44
>> To: Anders Björnerstedt
>> Cc: opensaf-devel@lists.sourceforge.net
>> Subject: [devel] [PATCH 1
eddy.neelaka...@oracle.com]
Sent: den 11 september 2013 14:44
To: Anders Björnerstedt
Cc: opensaf-devel@lists.sourceforge.net
Subject: [devel] [PATCH 1 of 1] IMM: fix the memory leaks when ncs_lock failed
in IMM agent
osaf/libs/agents/saf/imma/imma_oi_api.c | 6 +-
osaf/libs/agents/saf/imma/imma_o
> Best regards,
> Zoran
>
> -Original Message-
> From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com]
> Sent: den 11 september 2013 14:44
> To: Anders Björnerstedt
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [devel] [PATCH 1 of 1] IMM
1 September 2013 2:43 PM
To: Anders Björnerstedt
Cc: opensaf-devel@lists.sourceforge.net
Subject: [devel] [PATCH 1 of 1] IMM: fix the memory leaks when ncs_lock failed
in IMM agent
osaf/libs/agents/saf/imma/imma_oi_api.c | 6 +-
osaf/libs/agents/saf/imma/imma_om_api.c | 84 +++--
"error = SA_AIS_ERR_LIBRARY;"
>
> Regrards,
> Zoran
>
> From: reddy.neelaka...@oracle.com [reddy.neelaka...@oracle.com]
> Sent: Wednesday, 11 September 2013 2:43 PM
> To: Anders Björnerstedt
> Cc: opensaf-devel@lists.sourceforge.net
criptionGet_2
> + lock_fail1:
> +
> + if (attrDefinition && rc == SA_AIS_ERR_LIBRARY) {
>
> Best regards,
> Zoran
>
> -Original Message-
> From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com]
> Sent: den 11 september 2013 14:44
>