Changeset 9787a93 in mainline


Ignore:
Timestamp:
2014-07-01T16:47:01Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a91a935
Parents:
23ce2d9
Message:

Two more TCP leaks.

Location:
uspace/srv/net/tcp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/tcp.c

    r23ce2d9 r9787a93  
    151151        if (rc != EOK)
    152152                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed to transmit PDU.");
     153
     154        free(pdu_raw);
    153155}
    154156
  • uspace/srv/net/tcp/tqueue.c

    r23ce2d9 r9787a93  
    9292        seg = tcp_segment_make_ctrl(ctrl);
    9393        tcp_tqueue_seg(conn, seg);
     94        tcp_segment_delete(seg);
    9495}
    9596
Note: See TracChangeset for help on using the changeset viewer.