Itseez/opencv — pull request #3497 by SpecLad (2014-12-09 16:19:25+00:00)
Title: Fix memory leaks appearing when cvOpenFileStorage throws

I'm not sure why a C function throws in the first place, but changing that would probably be too backwards-incompatible (not to mention time-consuming).