mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-30 22:45:10 -04:00
delete authenticator when destructing. reduce memleak
This commit is contained in:
1 parent
e831c1563d
commit
52de6ef7ea
1 file changed
+4
@@ -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