Heh, it's cool I stumped so many peoples.
I will now reveal the answer...so if you want to still think about it, then don't read any further.
The Germenator got it right. You can ask only one gaurd one question, and that question would be "If I ask the other guy "Which door will lead me to freedom?" what would he say?"
If you ask the person who tells the truth, then he will point you towards the deathtrap, because the other guy would lie and say the death trap door. If you ask the liar, he would still point towards the deathtrap door because he would lie about what the honest man would say.