scst_get_unique_sess_name(): Handle out-of-memory properly (merge r4656 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-02-28 08:15:42 +00:00
parent 8799d827aa
commit f13969452a

View File

@@ -6347,6 +6347,7 @@ restart:
PRINT_ERROR("Unable to allocate a "
"replacement name (size %d)",
len);
break;
}
}