Changeset 659ebd86 in mainline for uspace/app/kio/kio.c


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

kio: Fix leak in producer()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/kio/kio.c

    rb454a22 r659ebd86  
    8585        size_t sz = sizeof(wchar_t) * length;
    8686        wchar_t *buf = (wchar_t *) malloc(sz);
    87         if (data == NULL) {
     87        if (buf == NULL) {
    8888                free(item);
    8989                return;
Note: See TracChangeset for help on using the changeset viewer.