library/src/exploitation/WebExploitation/SQLErrCodes/BP-WebExploitMysqlErrCodes.cc
size_t BP_DestroyMySQLErrCodes(BP_MYSQL_ERR_CODES * codes){

	if(!codes)
		return ERR_FAILURE;

	size_t x = 0;
	for(x = 0; x < BP_MysqlErrCount(); x++){
		bpfree(codes[x].myqlErrCode);
		bpfree(codes[x].mysqlErrStr);
	}

	// NO MORE FREE CODE, NO MORE, NONE lol (memory 4free tho | bovice)
	bpfree(codes);

	// return success
	return ERR_SUCCESS;
}
// Destroys a set of MySQL Tests
Destroys a set of MySQL Tests
Destroys a set of MySQL Tests
size_t BP_DestroyMySQLErrCodes(BP_MYSQL_ERR_CODES * codes){
	if(!codes)
		return ERR_FAILURE;
	size_t x = 0;
	for(x = 0; x < BP_MysqlErrCount(); x++){
		bpfree(codes[x].myqlErrCode);
		bpfree(codes[x].mysqlErrStr);
	}
	bpfree(codes);
	return ERR_SUCCESS;
}
size_t BP_DestroyMySQLErrCodes ( BP_MYSQL_ERR_CODES * codes ) { if ( ! codes ) return ERR_FAILURE ; size_t x = 0 ; for ( x = 0 ; x < BP_MysqlErrCount ( ) ; x ++ ) { bpfree ( codes [ x ] . myqlErrCode ) ; bpfree ( codes [ x ] . mysqlErrStr ) ; } bpfree ( codes ) ; return ERR_SUCCESS ; }
Destroys a set of MySQL Tests
Destroys a set of MySQL Tests
// NO MORE FREE CODE, NO MORE, NONE lol (memory 4free tho | bovice) // return success