Hi Peter

>From: Waldemar Rymarkiewicz <[email protected]>
>
>cmd is allocated in pn533_dep_link_up and passed as an arg to
>pn533_send_cmd_frame_async together with a complete cb.
>
>arg is passed to the cb and must be kfreed there.
>
>Signed-off-by: Waldemar Rymarkiewicz <[email protected]>
>Signed-off-by: Samuel Ortiz <[email protected]>
>
>Cc: <[email protected]> # 3.4.x
>Cc: <[email protected]> # 3.6.x
>Upstream-ID: 70418e6efcf4f8652cc08e3f2ab8ae35f0948fd9
>Stable-Trees: 3.4 3.6
>Signed-off-by: Peter Huewe <[email protected]>

Keep in mind that the patch depends to this one
 
  From: Szymon Janc <[email protected]>
  cmd was freed in pn533_dep_link_up regardless of
  pn533_send_cmd_frame_async return code. Cmd is passed as argument to
  pn533_in_dep_link_up_complete callback and should be freed there.

  Signed-off-by: Szymon Janc <[email protected]> 
  Signed-off-by: Samuel Ortiz <[email protected]>

  Cc: <[email protected]> # 3.6.x
  Cc: <[email protected]> # 3.4.x
  Upstream-ID: 770f750bc2b8312489c8e45306f551d08a319d3c
  Stable-Trees: 3.6 3.4

Thanks,
/Waldek
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to