This bug was introduced in 8bbbbaf87b when we added a separate or_options_free() function but didn't start using it everywhere. Fixes bug 19466.
8bbbbaf87b