mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
plug benign leak (coverity)
This commit is contained in:
parent
97d6a4fe3e
commit
a69da18849
@ -187,6 +187,7 @@ handle_private_option( int i )
|
||||
control );
|
||||
usage();
|
||||
}
|
||||
ber_memfree( control );
|
||||
break;
|
||||
|
||||
case 'a': /* add */
|
||||
|
@ -159,6 +159,7 @@ do_uri_explode( const char *uri )
|
||||
printf( "extension: %s\n", lud->lud_exts[i] );
|
||||
}
|
||||
}
|
||||
ldap_free_urldesc( lud );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -255,6 +255,8 @@ handle_private_option( int i )
|
||||
fprintf( stderr, _("Invalid Verify Credentials extension name: %s\n"), control );
|
||||
usage();
|
||||
}
|
||||
free( control );
|
||||
break;
|
||||
|
||||
case 'a': /* request authzid */
|
||||
req_authzid++;
|
||||
|
Loading…
Reference in New Issue
Block a user