As wing flaps work to slow down an aircraft on landing, it was feared the aircraft would overshoot the runway at Coolangatta and plough into traffic.
A bit dramatic, a flap failure is a procedure regularly practised and tested in the simulator. Landing distance calculations are performed and if a longer runway is needed you divert.
Similar incidents have happened with Australian airlines recently including:
Jetstar engine shutdown and diversion to Guam.
Jetstar emergency landing due to haze in cabin.
Qantas emergency descent due pressurisation failure.
Qantas A330 dispatching with required navigation equipment U/S