telnykha/MERA — pull request #9 by evmarkov (2014-11-25 13:04:32+00:00)
Title: Fix for possible crash in TryFindBeads

"SBead* beads" is deallocated even if it's a nullptr (i.e. if error
happened before memory allocation or memory allocation failed).