« Previous | Next » 

Revision 47f944a2

ID47f944a2efea1af48d2f47df25ee92386dbd8491
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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences