The co-defendant in the the Tulisa Contostavlos trial has also walked free after the judge decided the case against him could not proceed.
Rapper Michael Coombs, whose stage name is Mike GLC, had pleaded guilty before the trial to supplying half a gram of cocaine to undercover reporter Mazher Mahmood.
On hearing the decision the 36-year-old reportedly wept and hugged his defence barrister, Jeremy Dein QC.
More top news
Donald Trump has accused Barack Obama of failing to take action over Russia's alleged interference in the US election.
Ministers are reportedly 'dropping' plans to ease fire safety standards in new schools in the wake of the Grenfell Tower fire.
A 24-year-old mum has been arrested on suspicion of two counts of injury to a child after her young children were found dead in a hot car.