Changeset 83e69b9 in mainline for uspace/srv/net/tcp/pdu.c


Ignore:
Timestamp:
2016-03-29T20:37:05Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4a0bc99
Parents:
1558d85
git-author:
Manuele Conti <conti.manuele@…> (2016-03-29 20:37:05)
git-committer:
Jakub Jermar <jakub@…> (2016-03-29 20:37:05)
Message:

Remove a memory leak when tcp_pdu_create() procedure fails

File:
1 edited

Legend:

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

    r1558d85 r83e69b9  
    249249        if (pdu->text != NULL)
    250250                free(pdu->text);
     251        free(pdu);
    251252
    252253        return NULL;
Note: See TracChangeset for help on using the changeset viewer.