diff options
author | Jiri Kosina <[email protected]> | 2012-11-20 17:09:40 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2012-11-20 17:37:45 +0100 |
commit | 3c62602434c13744df62b3ab0ab7950cd36f24db (patch) | |
tree | 86071cf15ca76b3e0d195efd0dc199854df35deb /lib/mpi/mpi-internal.h | |
parent | 4a200c3b9a40242652b5734630bdd0bcf3aca75f (diff) |
HID: i2c-hid: fix memory leak during probe
In case we are returning from i2c_hid_probe() through the 'err' or
'err_mem_free' labels, there is noone freeing the buffers allocated by
i2c_hid_alloc_buffers().
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions