diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-05-10 18:18:36 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 09:50:11 -0700 |
| commit | 8bdeeb26c57012ea19a3b8fe3aeaecff377ae07d (patch) | |
| tree | b23368aea71a229f28d40d20c1488267b9830c97 /tools/perf/scripts/python/netdev-times.py | |
| parent | ba4dc61fe8c545a5d6a68b63616776556b771f51 (diff) | |
Staging: ipack: returning a freed pointer
If ipack_device_register() returns an error, then we returned a freed
pointer. The caller doesn't use it, but it means we return success to
the user instead of returning an error code.
I kind of rewrote the error handling in this function as a cleanup.
Cc: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
