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

Changeset cb94e69b in mainline


Ignore:
Timestamp:
2011-10-28T23:09:29Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
master
Children:
c289457
Parents:
992b47ea
Message:

pci: Fix memory leak in error path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/pci/pciintel/pci.c

    r992b47ea rcb94e69b  
    560560                       
    561561                        fnode = ddf_fun_create(bus->dnode, fun_inner, fun_name);
     562                        free(fun_name);
    562563                        if (fnode == NULL) {
    563564                                ddf_msg(LVL_ERROR, "Failed creating function.");
     
    565566                        }
    566567                       
    567                         free(fun_name);
    568568                        fun->fnode = fnode;
    569569                       
Note: See TracChangeset for help on using the changeset viewer.