stradis.c - vfree() checking cleanups
Subsystems (2)
PATCH 24/29 stradis.c - vfree() checking cleanups
stradis.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
stradis.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-)
drivers/media/video/stradis.c +3 -5
@@ -2188,12 +2188,9 @@/* unmap and free memory */ saa->audhead saa->vidhead - if (saa->vidbuf) -vfree (saa->vidbuf); -if (saa->audbuf) -vfree (saa->audbuf); -if (saa->osdbuf) -vfree (saa->osdbuf); +vfree (saa->vidbuf); +vfree (saa->audbuf); +vfree (saa->osdbuf);if (saa->dmavid2)kfree ((void *) saa->dmavid2); saa->audbuf
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors