-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: b50e662ec64e20cc5607697c863189a997322509:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit b50e662ec64e20cc5607697c863189a997322509
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Mon Jan 10 10:36:16 2011 +0000

    Plug leak.

diff --git a/src/rxvtfont.C b/src/rxvtfont.C

index 860deba3747546fd0d009bf0509bbdc4fad405b5..

index ..80dc9a9066a80a7565e90b3406e3ea74b176232a 100644

--- a/src/rxvtfont.C
+++ b/src/rxvtfont.C
@@ -1220,10 +1220,12 @@ rxvt_font_xft::load (const rxvt_fontprop &prop, bool force_prop)

   for (;;)
     {
-      f = XftFontOpenPattern (disp, FcPatternDuplicate (match));
+      p = FcPatternDuplicate (match);
+      f = XftFontOpenPattern (disp, p);

       if (!f)
         {
+          FcPatternDestroy (p);
           success = false;
           break;
         }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:37:32 2024