[media] EM28xx - Fix memory leak on disconnect or error

Release the dev->alt_max_pkt_size buffer in all cases.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Chris Rankin 2011-09-04 15:38:14 -03:00 • committed by Mauro Carvalho Chehab
commit 16e3d2f4fa
2 changed files with 2 additions and 0 deletions