At first I thought of Wild Strawberries, but the guy isn't old enough. Then I thought Hitchcock, but I didn't recognize it from any of his films. Then I thought that the visual style was really reminiscent of The Third Man (which I own, but haven't seen in years). And boom, google search for The Third Man turns up this image, apparently from the ending.
I do remember it's a great film on many levels (I remember the lighting in the sewer system, the ferris wheel, the great story, and Welles' wonderful monologue), you should check it out. If you have Netflix streaming it's currently available there.