Move malloc() down until after all initializations, so that the resource is
only allocated if initialization worked. This means that on failure, we don't have to deallocate it. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14924 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Showing
Please register or sign in to comment