diff options
| author | Jesper Juhl <[email protected]> | 2011-11-13 21:14:32 +0000 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-11-15 15:02:57 +0000 |
| commit | fe09b32a4361bea44169b2063e8c867cabb6a8ba (patch) | |
| tree | 6669196f194348c76ca7fe0f2828555957476449 /fs/btrfs/async-thread.c | |
| parent | rt2x00: Fix sleep-while-atomic bug in powersaving code. (diff) | |
| download | kernel-fe09b32a4361bea44169b2063e8c867cabb6a8ba.tar.gz kernel-fe09b32a4361bea44169b2063e8c867cabb6a8ba.zip | |
Net, libertas: Resolve memory leak in if_spi_host_to_card()
If we hit the default case in the switch in if_spi_host_to_card() we'll leak
the memory we allocated for 'packet'. This patch resolves the leak by freeing
the allocated memory in that case.
Signed-off-by: Jesper Juhl <[email protected]>
Acked-by: Dan Williams <[email protected]>
Cc: [email protected]
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
