[PATCH 1/1] Memory leak in usbip_exported_device_new

2014-02-27 Thread xypron . glpk
From: Heinrich Schuchardt Memory was leaked and a device not closed. Signed-off-by: Heinrich Schuchardt --- drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c b/drivers

[PATCH 1/1] usbip/userspace/libsrc/names.c: memory leak

2014-01-27 Thread xypron . glpk
From: Heinrich Schuchardt p is freed if NULL. p is leaked if second calloc fails. Signed-off-by: Heinrich Schuchardt --- drivers/staging/usbip/userspace/libsrc/names.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/usbip/userspace/libsrc/names.c b/drive