mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
fcst: Avoid invoking ft_cmd_done(NULL)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4867 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -679,7 +679,8 @@ err:
|
||||
busy:
|
||||
FT_IO_DBG("cmd allocation failure - sending BUSY\n");
|
||||
ft_send_resp_status(fp, SAM_STAT_BUSY, 0);
|
||||
ft_cmd_done(fcmd);
|
||||
if (fcmd)
|
||||
ft_cmd_done(fcmd);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user