Re: [FFmpeg-devel] [PATCH] avdevice/gdigrab: Memory leak if BitBlt return false.

2020-10-23 Thread Andreas Rheinhardt
dont.b...@gmail.com: >> dont.b...@gmail.com: >>> From: walle >>> >>> lock screen or other permission notification in win7 or >>> higher windows version would case BitBlt return false, >>> and gdigrab_read_packet will return AVERROR(EIO) and do nothing to >>> allocated packet data, then memory leak

Re: [FFmpeg-devel] [PATCH] avdevice/gdigrab: Memory leak if BitBlt return false.

2020-10-23 Thread dont.b...@gmail.com
ach line, I'm using an email client and have to add them manually. dont.b...@gmail.com From: Andreas Rheinhardt Date: 2020-10-22 21:52 To: ffmpeg-devel Subject: Re: [FFmpeg-devel] [PATCH] avdevice/gdigrab: Memory leak if BitBlt return false. dont.b...@gmail.com: > From: walle > >

Re: [FFmpeg-devel] [PATCH] avdevice/gdigrab: Memory leak if BitBlt return false.

2020-10-22 Thread Andreas Rheinhardt
dont.b...@gmail.com: > From: walle > > lock screen or other permission notification in win7 or > higher windows version would case BitBlt return false, > and gdigrab_read_packet will return AVERROR(EIO) and do nothing to > allocated packet data, then memory leak happend. It's necessary to > relea

[FFmpeg-devel] [PATCH] avdevice/gdigrab: Memory leak if BitBlt return false.

2020-10-22 Thread dont . buck
From: walle lock screen or other permission notification in win7 or higher windows version would case BitBlt return false, and gdigrab_read_packet will return AVERROR(EIO) and do nothing to allocated packet data, then memory leak happend. It's necessary to release packet data before return from g