You are an orphan descriptor, which is a limited (okay, that's a pretty big limit) resource. However, as soon as your application terminates, the handle is eventually freed by the OS, so the lost resource will eventually be returned to the pool.
It is a bad programming practice, however, to highlight what has limitations and not release it when you are done with it.
source share