Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 659ebd86 in mainline


Ignore:
Timestamp:
2016-07-08T10:42:28Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
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.