mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 04:21:10 -05:00
ITS#9999 slapd-search: plug potential leak
This commit is contained in:
parent
17359b7463
commit
5e15ce57a9
1 changed files with 2 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ do_random( struct tester_conn_args *config,
|
|||
if ( rc ) {
|
||||
tester_ldap_error( ld, "ldap_search_ext_s", NULL );
|
||||
}
|
||||
ldap_msgfree( res );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -270,6 +271,7 @@ do_random( struct tester_conn_args *config,
|
|||
|
||||
default:
|
||||
tester_ldap_error( ld, "ldap_search_ext_s", NULL );
|
||||
ldap_msgfree( res );
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue