Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2251 Memory leak inside getClass() used by invokeMethod()

Memory_Leak
pending-fixed
nobody
sfcb (1090)
5
2012-11-14
2011-07-28
No

Memory allocated for classname and namespace inside getClass() function, SFCB binary interface is not released. Please find the fix attached.

Discussion

    • labels: --> sfcb
    • milestone: --> Memory_Leak
     
  • 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.

     
    • status: open --> pending-rejected
     
  • Disregard my last comment, this isn't in the context of a provider. Reopened.

     
    • status: pending-rejected --> open-accepted
     
  • committed to CVS HEAD and git master

     
    • status: open-accepted --> pending-fixed