I rented this from a Blockbuster back in late-2008/early-2009, so I know it can’t be anything released since then.
What I can remember:
The story follows a young man (early 20’s maybe) who (I think) gets involved with drugs.
He has a friend that either he lives with or visits often that, at one point, dies (possibly from an overdose).
Near the end, he goes to see a girl he used to date at her wedding. He visits her before the ceremony (she’s still getting ready) in a room, alone. He does something to prevent her from leaving the room (he has a gun/knife, locks the door, etc.).
The movie ends rather oddly, from what I can remember. I think he’s walking on the side of a road (closed road maybe?) and he stops near a fence.
I got the distinct impression while watching this movie that it had a low (or nonexistent) budget. It had a very ‘Clerks’ vibe to it, in that all the locations seemed to be local.