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

Changeset 234f47e in mainline


Ignore:
Timestamp:
2016-07-08T10:58:34Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
8ef1c1e
Parents:
659ebd86
git-author:
Manuele Conti <conti.manuele@…> (2016-07-08 10:58:34)
git-committer:
Jakub Jermar <jakub@…> (2016-07-08 10:58:34)
Message:

ns: Fix memory leak in ns_task_id_intro()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r659ebd86 r234f47e  
    242242       
    243243        hashed_task_t *ht = (hashed_task_t *) malloc(sizeof(hashed_task_t));
    244         if (ht == NULL)
     244        if (ht == NULL) {
     245                free(entry);
    245246                return ENOMEM;
     247        }
    246248       
    247249        /*
Note: See TracChangeset for help on using the changeset viewer.