Changeset 8ef1c1e in mainline


Ignore:
Timestamp:
2016-07-08T11:06:09Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb4a424
Parents:
234f47e
git-author:
Manuele Conti <conti.manuele@…> (2016-07-08 11:06:09)
git-committer:
Jakub Jermar <jakub@…> (2016-07-08 11:06:09)
Message:

inetsrv: Fix memory leak in reass_dgram_insert_frag()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/reass.c

    r234f47e r8ef1c1e  
    193193
    194194        data_copy = malloc(packet->size);
    195         if (data_copy == NULL)
     195        if (data_copy == NULL) {
     196                free(frag);
    196197                return ENOMEM;
     198        }
    197199
    198200        memcpy(data_copy, packet->data, packet->size);
Note: See TracChangeset for help on using the changeset viewer.