diff options
| author | Dennis Dalessandro <[email protected]> | 2014-03-17 14:07:16 -0400 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2014-03-17 16:16:51 -0700 |
| commit | 06064a103f6bd5b409ffed6248983270c0681c21 (patch) | |
| tree | 868ba04bb37c3255eae4e1654a1b20b9e1f5a662 /scripts/gdb/linux/dmesg.py | |
| parent | 8572de9732b6d1fd211873ffab8c60b3c1745ee8 (diff) | |
IB/qib: Fix memory leak of recv context when driver fails to initialize.
In qib_create_ctxts() we allocate an array to hold recv contexts. Then attempt
to create data for those recv contexts. If that call to qib_create_ctxtdata()
fails then an error is returned but the previously allocated memory is not
freed.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions