plug benign leak (coverity)

This commit is contained in:
Howard Chu 2015-01-13 19:51:56 +00:00
parent 97d6a4fe3e
commit a69da18849
3 changed files with 4 additions and 0 deletions

View File

@ -187,6 +187,7 @@ handle_private_option( int i )
control );
usage();
}
ber_memfree( control );
break;
case 'a': /* add */

View File

@ -159,6 +159,7 @@ do_uri_explode( const char *uri )
printf( "extension: %s\n", lud->lud_exts[i] );
}
}
ldap_free_urldesc( lud );
return 0;
}

View File

@ -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++;