IDK. Let's say the situation was slightly different and instead of getting it
out of the garbage he happened to run into a friend who was leaving the theater. This friend had an unmarked bag and offered it up so the incoming movie goer to get his free refill. Is that really any different? Would that be stealing?