library/src/exploitation/WebExploitation/AppEngineErrCodes/BP-WebExploitASPErrCodes.cc
// Destroys a set of ASP error code allocations
Destroys a set of ASP error code allocations
Destroys a set of ASP error code allocations
size_t BP_DestroyASPErrCodes(BP_ASP_ERR_CODES * codes)
{
	if(!codes)
		return ERR_FAILURE;
	size_t x = 0;
	for(x = 0; x < BP_ASPErrCount(); x++)
	{
		bpfree(codes[x].aspBaseCode);
		bpfree(codes[x].description);
	}
	bpfree(codes);
	return ERR_SUCCESS;
}
size_t BP_DestroyASPErrCodes ( BP_ASP_ERR_CODES * codes ) { if ( ! codes ) return ERR_FAILURE ; size_t x = 0 ; for ( x = 0 ; x < BP_ASPErrCount ( ) ; x ++ ) { bpfree ( codes [ x ] . aspBaseCode ) ; bpfree ( codes [ x ] . description ) ; } bpfree ( codes ) ; return ERR_SUCCESS ; }
Destroys a set of ASP error code allocations
Destroys a set of ASP error code allocations
// check to ensure we have codes // NO MORE FREE CODE, NO MORE, NONE lol (memory 4free tho | bovice) // return success