[FFmpeg-devel] [PATCH] ffmpeg.c: Fixed Memory Leak Issue
Clément Bœsch
ubitux at gmail.com
Wed Aug 31 17:41:49 CEST 2011
On Wed, Aug 31, 2011 at 03:05:21PM +0000, Chiranjeevi Melam wrote:
> Hi,
Hi,
> Fixed Memory Leak issue in ffmpeg.c
How does this happen?
[...]
> @@ -931,7 +934,6 @@ need_realloc:
> return;
> ist->is_start=0;
> }else{
> - static uint8_t *input_tmp= NULL;
> input_tmp= av_realloc(input_tmp, byte_delta + size);
>
I wonder if using av_fast_malloc wouldn't be more appropriate here, and
might fix the issue you're expecting.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110831/20c14079/attachment.asc>
More information about the ffmpeg-devel
mailing list