Dennis Dalessandro 06064a103f 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 <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-03-17 16:16:51 -07:00
..
2013-09-13 15:09:52 +02:00
2013-08-13 11:14:34 -07:00
2013-06-21 17:19:49 -07:00
2013-06-21 17:19:52 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-08 18:05:19 -07:00
2013-08-13 11:14:34 -07:00
2011-10-13 09:13:26 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00