1. 26 4月, 2012 2 次提交
  2. 16 4月, 2012 1 次提交
  3. 12 4月, 2012 1 次提交
    • J
      Input: da9052 - fix memory leak in da9052_onkey_probe() · 0e3d0f3d
      Jesper Juhl 提交于
      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: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      0e3d0f3d
  4. 11 4月, 2012 1 次提交
  5. 10 4月, 2012 3 次提交
  6. 04 4月, 2012 2 次提交
  7. 30 3月, 2012 1 次提交
  8. 29 3月, 2012 2 次提交
  9. 27 3月, 2012 1 次提交
  10. 26 3月, 2012 10 次提交
  11. 24 3月, 2012 2 次提交
  12. 20 3月, 2012 4 次提交
  13. 18 3月, 2012 1 次提交
  14. 17 3月, 2012 8 次提交
  15. 16 3月, 2012 1 次提交