Menu

#67 Memory leak when receiving long messages

1.2.0.0
closed
mike
None
2014-10-10
2014-10-02
No

Before line 837 of file "trdp_mdcom.c" (r1330):
vos_memFree(appHandle->uncompletedTCP[socketIndex]);

the following line should be added:
vos_memFree(appHandle->uncompletedTCP[socketIndex]->pPacket);

Discussion

  • Armin-Hagen Weiss

    • status: open --> accepted
    • assigned_to: mike
     
  • mike

    mike - 2014-10-10

    Thanks for the scrutiny applied to the finding of the leak. [r1337] shall solve this issue. Tested with the trdp-md-test as caller and replier on a small PowerPC target, where memory consumption during runtime kept being stable.

    Closing this ticket - should a code review over the whole mdcom entity reveal other potential leaks, these will get a new ticket.

     

    Related

    Commit: [r1337]

  • mike

    mike - 2014-10-10
    • status: accepted --> closed
     
  • Armin-Hagen Weiss

    I will be out of the office starting 10.10.2014 and will not return until
    13.10.2014.

    I'll reply as fast as possible.

     

Log in to post a comment.

MongoDB Logo MongoDB