[media] Fix double free of video_device in mem2mem_testdev

video_device is already being freed in video_device.release callback on
release.

Signed-off-by: Pawel Osciak <pawel@osciak.com>
Reported-by: Roland Kletzing <devzero@web.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Pawel Osciak 2011-01-16 16:22:20 -03:00 • committed by Mauro Carvalho Chehab
commit 0552774d06