A post-mortem last night has confirmed that private investigator P Balasubramaniam had died of a heart attack.