mohandev2 / openhpi_old

Other
0 stars 0 forks source link

Rediscovery may have memory leaks #1939

Closed mohandev2 closed 6 years ago

mohandev2 commented 7 years ago

When the synergy plugin goes for continues re-discovery due to unstable enclosures, the memory continues to increase. Looks like the plugin may have memory leak some where in this situation. Needs to be addressed. Also, after discovery when the memory is released using json_put

Reported by: mohandev2

Original Ticket: openhpi/bugs/1939

mohandev2 commented 7 years ago

json_object_put reference count is not reducing to zero in some instances, This may be leading to memory held for ever too.

Original comment by: mohandev2

mohandev2 commented 7 years ago

Original comment by: HemanthBeecherla

mohandev2 commented 7 years ago

Fixed in revision 7697.

Original comment by: HemanthBeecherla