Re: [hackers] [sent][PATCH] free XImage before creating a new one

2023-01-09 Thread Hiltjo Posthuma
On Mon, Jan 09, 2023 at 03:07:48PM +, Augusto Castelo wrote: > ffprepare was allocating a new XImage but wasn't freeing the > previously allocated one > --- > sent.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/sent.c b/sent.c > index 9534fca..d949d71 100644 > --- a/sent.c > ++

[hackers] [sent][PATCH] free XImage before creating a new one

2023-01-09 Thread Augusto Castelo
ffprepare was allocating a new XImage but wasn't freeing the previously allocated one --- sent.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sent.c b/sent.c index 9534fca..d949d71 100644 --- a/sent.c +++ b/sent.c @@ -270,6 +270,9 @@ ffprepare(Image *img) if (depth < 24)