Paris Hilton partied with Leonardo DiCaprio after her South Africa drug bust drama the past weekend, according to New York Post.

The socialite went on to Cape Town with DiCaprio and celebrated her freedom at club Fez Saturday night.

"She looked so relieved. She and her friends were on a table next to Leo and his entourage," a source said.

"They hung out all night, but went their separate ways at the end."

Ms Hilton was taken into police custody and detained in a cell after watching the soccer World Cup quarterfinal match between Brazil and the Netherlands in Port Elizabeth as undercover police officers said they had discovered local marijuana in her bag.

A court in South Africa dismissed the case after her friend Jennifer Rovero acknowledged to be in possession of cannabis, and pleaded guilty.