mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Removed unused mutex.
Fixed tiny memory leak.
This commit is contained in:
parent
f7b8139846
commit
b7faf29697
@ -385,7 +385,6 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit JService(Jrd::Service* handle);
|
explicit JService(Jrd::Service* handle);
|
||||||
Firebird::Mutex mutex;
|
|
||||||
Jrd::Service* svc;
|
Jrd::Service* svc;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -3816,6 +3816,7 @@ void JService::freeEngineData(CheckStatusWrapper* user_status)
|
|||||||
validateHandle(svc);
|
validateHandle(svc);
|
||||||
|
|
||||||
svc->detach();
|
svc->detach();
|
||||||
|
svc = NULL;
|
||||||
}
|
}
|
||||||
catch (const Exception& ex)
|
catch (const Exception& ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user