Musician Pete Doherty was jailed for six months on Friday after pleading guilty to possession of cocaine, the Press Association reported.
The 32-year-old was arrested in January last year by police investigating the suspected overdose death of heiress Robyn Whitehead.
The controversial Babyshambles singer has been jailed twice before and has repeatedly admitted possession of banned substances.
Judge David Radford said he had an "appalling record" of committing offences, having made 13 other court appearances in the past.
Peter Wolfe, 42, who had pleaded guilty to two counts of possession of cocaine and one count of supplying cocaine to Whitehead, was sentenced to a total of 12 months in prison.
Whitehead, 27, the granddaughter of the late Teddy Goldsmith, founder of The Ecologist magazine, spent the last 10 days of her life making a documentary about Doherty.
Prosecutor Alison Morgan said paramedics were called to Wolfe's flat in Hackney, east London, where Whitehead collapsed on January 24 last year.
They tried to resuscitate Whitehead but she was pronounced dead shortly afterwards.
Toxicology reports found she had a combination of cocaine and heroin in her body and had died of heroin poisoning.
Footage filmed inside the flat two days earlier showed her in the flat with Wolfe and him passing her a crack pipe, which she then smoked.
The prosecutor told Snaresbrook Crown Court that Doherty later joined them and was also filmed smoking on the crack pipe and putting crack cocaine inside it.
She said the drugs offences to which the two men had been charged had been committed between January 22 and 24 but that the crack cocaine that Wolfe had supplied Whitehead with could not have been what killed her.
Judge Radford said she had died from the poisoning of another illegal drug which she had chosen to take.
COPYRIGHT: (c) Reuters 2011. All rights reserved. Republication or redistribution of Reuters content, including by caching, framing or similar means, is expressly prohibited without the prior written consent of Reuters. Reuters and the Reuters sphere logo are registered trademarks and trademarks of the Reuters group of companies around the world.