Menu

#2473 cmpi-devel: several CmpiObjectPath methods leak memory

Memory_Leak
pending-fixed
5
2012-06-10
2012-06-03
No

The following construct is used by several methods of the CmpiObjectPath class resulting in leaked memory:

return *new CmpiString(s);

Discussion

  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-03

    This construct is used several places as well:

    if (name) *name = *(new CmpiString(s));

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-05

    Patch attached

    Committed to CVS Head

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-05
    • status: open --> pending-fixed
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-05

    Fixes memory leak

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-10
    • labels: 716556 --> CMPI C/C++ API (cmpi-devel)
    • status: pending-fixed --> open-fixed
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2012-06-10
    • status: open-fixed --> pending-fixed
     

Log in to post a comment.