summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
type='submit' value='reload'/>
authorJohan Hovold <johan@hovoldconsulting.com>2016-08-17 15:43:32 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-17 15:59:13 +0200
commit5f62eab04ab7d78afd8acf00c48a7a1539794e1f (patch)
tree5b9f51047e3842245cd3498756fffb60f7f5b641 /drivers/staging/greybus
parentc9161d72b33ff5a3e43dd60c87adf113363866a1 (diff)
greybus: es2: fix memory leak in probe error path
In case a bulk-in transfer-buffer allocation failed during probe, we'd currently leak the corresponding URB. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/es2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c