Looking for a movie

There are two girls in a college and they study law. One of them has dark hair and very popular and the other one ihas blonde short hair. They are roommates. One day a girl with dark hair broke up with his boyfriend than she is found dead in her room. Is there anybody knowing the name of this film?

Could it be
The Roommate (2011)
starring Minka Kelly and Leighton Meister