Memory allocated for classname and namespace inside getClass() function, SFCB binary interface is not released. Please find the fix attached.
Memory leak fix
Both of those items are created as tracked memory objects. According to the CMPI spec(section 1.3.6), they would only need to be released if they were cloned. They will be cleaned up by the CMPI memory management:
1.3.16: CMPI performs automatic release of all its encapsulated objects used and/or created during an MI function invocation cycle, except for those structures that have been copied explicitly by the MI using the clone() function.
Disregard my last comment, this isn't in the context of a provider. Reopened.
committed to CVS HEAD and git master
Log in to post a comment.