Minor memory leak fixed

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-01-12 18:37:11 +00:00
parent 9f3646ea96
commit a23297eb40

View File

@@ -5358,6 +5358,8 @@ retry:
"discovery (counter was %d, new %d), retrying",
ha->instance, global_resets,
atomic_read(&ha->tgt->tgt_global_resets_count));
kfree(fcport);
fcport = NULL;
goto retry;
}