1. 21 Apr, 2012 1 commit
  2. 12 Apr, 2012 1 commit
    • Jesper Juhl's avatar
      Input: da9052 - fix memory leak in da9052_onkey_probe() · 0e3d0f3d
      Jesper Juhl authored
      If, in drivers/input/misc/da9052_onkey.c::da9052_onkey_probe(), the
      call to either kzalloc() or input_allocate_device() fails then we will
      return -ENOMEM from the function without freeing the other allocation
      that may have succeeded, thus we leak either the memory allocated for
      'onkey' or the memory allocated for 'input_dev' if one succeeds and
      the other fails.
      Fix that by jumping to the 'err_free_mem' label at the end of the
      function that properly cleans up rather than returning directly.
      Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      0e3d0f3d
  3. 10 Apr, 2012 4 commits
  4. 03 Apr, 2012 2 commits
  5. 30 Mar, 2012 1 commit
  6. 27 Mar, 2012 2 commits
  7. 26 Mar, 2012 9 commits
  8. 20 Mar, 2012 6 commits
  9. 17 Mar, 2012 8 commits
  10. 14 Mar, 2012 2 commits
  11. 13 Mar, 2012 3 commits
  12. 09 Mar, 2012 1 commit