mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-07 15:37:55 -05:00
delete authenticator when destructing. reduce memleak
This commit is contained in:
@@ -55,6 +55,10 @@ RemoteCamera::~RemoteCamera() {
|
||||
freeaddrinfo(hp);
|
||||
hp = NULL;
|
||||
}
|
||||
if ( mAuthenticator ) {
|
||||
delete mAuthenticator;
|
||||
mAuthenticator = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void RemoteCamera::Initialise() {
|
||||
|
||||
Reference in New Issue
Block a user