Itseez/opencv — pull request #421 by asmaloney (2013-02-02 13:47:33+00:00)
Title: Check memory allocation

"input_cascade" is dereferenced later on so could crash if this allocation fails

Also declare vars as locally as possible