library/src/exploitation/WebExploitation/SQLErrCodes/BP-WebExploitOracleErrCodes.cc
// Destroys a set of Oracle error code allocations
Destroys a set of Oracle error code allocations
Destroys a set of Oracle error code allocations
size_t BP_DestroyOracleErrCodes(BP_ORACLE_ERR_CODES * codes){
	if(!codes)
		return ERR_FAILURE;
	size_t x = 0;
	for(x = 0; x < (sizeof(oracleErrCodes)/sizeof(BP_ORACLE_ERR_CODES)); x++)
	{
		bpfree(codes[x].description);
		bpfree(codes[x].firstNumericalCode);
		bpfree(codes[x].secondNumericalCode);
	}
	bpfree(codes);
	return ERR_SUCCESS;
}
size_t BP_DestroyOracleErrCodes ( BP_ORACLE_ERR_CODES * codes ) { if ( ! codes ) return ERR_FAILURE ; size_t x = 0 ; for ( x = 0 ; x < ( sizeof ( oracleErrCodes ) / sizeof ( BP_ORACLE_ERR_CODES ) ) ; x ++ ) { bpfree ( codes [ x ] . description ) ; bpfree ( codes [ x ] . firstNumericalCode ) ; bpfree ( codes [ x ] . secondNumericalCode ) ; } bpfree ( codes ) ; return ERR_SUCCESS ; }
Destroys a set of Oracle error code allocations
Destroys a set of Oracle error code allocations
// NO MORE CODE, NO MORE, NONE // return success