Commit 260b053f authored by Committed by Petr Machata
The pre-named lenses are unowned
- There was a memory error in `if (own_lens && lens != NULL)` (own_lens was only set when lens was != NULL), reported by Роман Донченко. But we don't need to track the ownership of lenses at all, and the whole function name2lens is somewhat pointless as well. So simplify all that code.
Showing with 12 additions and 23 deletions