[Linux1394-cvslog] rev 695 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-12-05 15:07:39
|
Author: bencollins Date: 2002-12-05 10:06:54 -0500 (Thu, 05 Dec 2002) New Revision: 695 Modified: trunk/raw1394.c Log: Patch from Manfred Weihs to fix deallocation of an unallocated tlabel. Modified: trunk/raw1394.c ============================================================================== --- trunk/raw1394.c (original) +++ trunk/raw1394.c 2002-12-05 10:06:55.000000000 -0500 @@ -179,7 +179,10 @@ req->req.length = 0; } - if (req->req.type != RAW1394_REQ_PHYPACKET) + if ((req->req.type == RAW1394_REQ_ASYNC_READ) || + (req->req.type == RAW1394_REQ_ASYNC_WRITE) || + (req->req.type == RAW1394_REQ_LOCK) || + (req->req.type == RAW1394_REQ_LOCK64)) hpsb_free_tlabel(packet); queue_complete_req(req); |