GNU bug report logs - #51355
Fwd: [PATCH] Fix a memory leak in pgtk_draw_fringe_bitmap

Previous Next

Package: emacs;

Reported by: Sharaf Zaman <shzam <at> sdf.org>

Date: Sat, 23 Oct 2021 16:27:03 UTC

Severity: normal

Tags: patch

Merged with 51354

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharaf Zaman <shzam <at> sdf.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Fwd: [PATCH] Fix a memory leak in pgtk_draw_fringe_bitmap
Date: Sat, 23 Oct 2021 15:41:00 +0000
[Message part 1 (text/plain, inline)]
Hello!

I discovered that there's a memory leak in the pgtk code, if the windows are
created/destroyed/moved/shrunk/widened frequently. I've verified it with
profiler that this indeed is the location (https://i.imgur.com/LnrgGyj.png) and
fixed it (https://i.imgur.com/zdgnn5K.png).

PS: This is my first time sending a patch over an email, I'm not 100%
sure if this is how it's done.

--
Kind Regards,
Sharaf Zaman
[0001-Fix-a-memory-leak-in-pgtk_draw_fringe_bitmap.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.