#2503 memory leak in backend/cimxml/grammer.c

Memory_Leak
pending-fixed
sfcc (103)
5
2012-07-31
2012-07-24
Michal Minar
No

ObjectPath created in function valueObjectWithPathData needs to be freed to prevent memory leak.
Attached patch fixes this.
Attached is also a small client program, that runs execQuery in loop, exploiting this leak.
Notice the growth of used memory with or without this patch.

Related

Bugs: #2730

Discussion

  • Michal Minar
    Michal Minar
    2012-07-24

    patch fixing memory leak

     
  • Michal Minar
    Michal Minar
    2012-07-24

    use case

     
    Attachments
  • Chris Buccella
    Chris Buccella
    2012-07-31

    committed to git master

     
  • Chris Buccella
    Chris Buccella
    2012-07-31

    • milestone: --> Memory_Leak
    • status: open --> pending-fixed