[x264-devel] [patch] Fix memoryleaks on some functions fail situations

BugMaster BugMaster at narod.ru
Tue Sep 2 01:07:02 CEST 2008


Free resourses allocated by some functions (x264_encoder_open,
x264_ratecontrol_new, etc.) when they fail. Doesn't important for CLI
version of encoder but can be useful when x264 used as library.

Patch need recheck because I don't test all situations and may be some
simplification by macroses because there are a lot of repeated code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x264_error_memoryleaks.01.r956.diff
Url: http://mailman.videolan.org/pipermail/x264-devel/attachments/20080902/10c87a95/attachment.txt 


More information about the x264-devel mailing list