Changeset 8708be3 in mainline


Ignore:
Timestamp:
2011-12-17T13:21:44Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1761268
Parents:
792807f
Message:

do not unmap the memory in this error path, it was not mapped previously

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/generic/packet_remote.c

    r792807f r8708be3  
    7777        async_wait_for(message, &result);
    7878       
    79         if (rc != EOK) {
    80                 munmap(*packet, size);
     79        if (rc != EOK)
    8180                return rc;
    82         }
    8381       
    8482        rc = pm_add(*packet);
Note: See TracChangeset for help on using the changeset viewer.