Changeset e540424a in mainline for uspace/app/mkbd/main.c


Ignore:
Timestamp:
2016-07-20T21:39:25Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b18137
Parents:
8f9c808
git-author:
Manuele Conti <conti.manuele@…> (2016-07-20 21:39:25)
git-committer:
Jakub Jermar <jakub@…> (2016-07-20 21:39:25)
Message:

mkbd: Fix double free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkbd/main.c

    r8f9c808 re540424a  
    123123        free(desc);
    124124       
    125         if (rc != EOK) {
    126                 free(desc);
    127                 return rc;
    128         }
    129        
    130         return EOK;
     125        return rc;
    131126}
    132127
Note: See TracChangeset for help on using the changeset viewer.