« Previous | Next » 

Revision 47f944a2

Parent e6c13819
Child 8b9af28d

Added by Ronald S. Bultje almost 13 years ago

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.

Originally committed as revision 14924 to svn://svn.ffmpeg.org/ffmpeg/trunk


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences