diff options
| author | Souptick Joarder <[email protected]> | 2016-10-28 17:30:16 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-11-10 14:50:46 +0100 |
| commit | 0a940b0d252bb8616bb36a254f6a3273f007c3f3 (patch) | |
| tree | 10a1e7ab159e99d9a2d259e2c5b52208aeb86064 /fs/jbd2/commit.c | |
| parent | 7f8b4ebeb2a1e7bf7af80926db012c9356f7a662 (diff) | |
serial: ifx6x60: Free memory when probe fails
When spi_setup() fails it doesn't free ifx_dev and we have a memory
leak. Fix this by freeing ifx_dev before the return.
Signed-off-by: Souptick joarder <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions