Skip to content

Commit 236de1f

Browse files
committed
PostFix for #9014: Client side memory leak on connect/disconnect cycles in fbclient; committed fix suggested by Jojakim Stahl
1 parent 549e729 commit 236de1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/remote/remote.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,6 +1356,7 @@ bool rem_port::tryNewKey(InternalCryptKey* cryptKey)
13561356
{
13571357
if (tryKeyType(port_known_server_keys[t], cryptKey))
13581358
{
1359+
delete cryptKey;
13591360
return true;
13601361
}
13611362
}

0 commit comments

Comments
 (0)