mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-21 19:48:29 +02:00
Fix leak in protocolServer().
This commit is contained in:
parent
9d42435ffb
commit
6ec2241e15
@ -442,8 +442,9 @@ protocolServer(IoServer *const tlsServer, IoSession *const socketSession)
|
||||
// Ack the config command
|
||||
protocolServerDataEndPut(result);
|
||||
|
||||
ioSessionMove(tlsSession, memContextPrior());
|
||||
// Move result to prior context and move session into result so there is only one return value
|
||||
protocolServerMove(result, memContextPrior());
|
||||
ioSessionMove(tlsSession, objMemContext(result));
|
||||
}
|
||||
// Else the client can only detect that the server is alive
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user