8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

test for out-of-memory condition has no sense here any more

This commit is contained in:
alexpeshkoff 2008-02-11 09:59:35 +00:00
parent 482670dd12
commit fad180bed8

View File

@ -1654,19 +1654,9 @@ void Service::start(USHORT spb_length, const SCHAR* spb_data)
// Break up the command line into individual arguments.
parseSwitches();
/*
* the service block can be reused hence free a memory from the
* previous usage as well as init a status vector.
*/
// The service block can be reused hence init a status vector.
memset((void *) svc_status, 0, sizeof(ISC_STATUS_ARRAY));
// FREE: at SVC_detach()
if (!svc_stdout) // NOMEM:
{
Firebird::status_exception::raise(isc_virmemexh, 0);
}
if (serv->serv_thd) {
svc_flags &= ~SVC_evnt_fired;