Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/nvdimm/bus.c

    r31574 r31885  
    935935        if (rc < 0)
    936936                goto out_unlock;
     937        nvdimm_bus_unlock(&nvdimm_bus->dev);
     938
    937939        if (copy_to_user(p, buf, buf_len))
    938940                rc = -EFAULT;
     941
     942        vfree(buf);
     943        return rc;
     944
    939945 out_unlock:
    940946        nvdimm_bus_unlock(&nvdimm_bus->dev);
Note: See TracChangeset for help on using the changeset viewer.