mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 12:30:29 -05:00
ITS#9998 slapd-mtread: plug potential leak
This commit is contained in:
parent
4a9e449b24
commit
17359b7463
1 changed files with 2 additions and 0 deletions
|
|
@ -528,6 +528,7 @@ do_random( LDAP *ld,
|
|||
if ( rc ) {
|
||||
tester_ldap_error( ld, "ldap_search_ext_s", NULL );
|
||||
}
|
||||
ldap_msgfree( res );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -566,6 +567,7 @@ do_random( LDAP *ld,
|
|||
|
||||
default:
|
||||
tester_ldap_error( ld, "ldap_search_ext_s", NULL );
|
||||
ldap_msgfree( res );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue