drivers/ieee1394/raw1394.c: fix a NULL pointer
authorAdrian Bunk <bunk@stusta.de>
Mon, 21 Nov 2005 22:32:14 +0000 (17:32 -0500)
committerJody McIntyre <scjody@modernduck.com>
Mon, 21 Nov 2005 22:32:14 +0000 (17:32 -0500)
The coverity checker spotted that this was a NULL pointer dereference in
the "if (copy_from_user(...))" case since the next step is to
kfree(cache->filled_head).

There's no need to free cache at this point, and it's getting free'd
later.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>

No differences found