[tbb-commits] [tor-browser/tor-browser-52.5.2esr-7.5-2] Bug 23970: Printing to a file is broken with Linux content sandboxing enabled

gk at torproject.org gk at torproject.org
Fri Dec 15 10:14:14 UTC 2017


commit b23c1c6e66cfca06fb3a3c9ad370fcd466ecb963
Author: Richard Pospesel <richard at torproject.org>
Date:   Mon Nov 27 14:49:53 2017 -0800

    Bug 23970: Printing to a file is broken with Linux content sandboxing enabled
    
    Ported over firefox patch 5e7872cb3b5c (Bug 1364627)
---
 gfx/2d/ScaledFontFontconfig.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gfx/2d/ScaledFontFontconfig.cpp b/gfx/2d/ScaledFontFontconfig.cpp
index 0695eebbeaa7..68c9a1a42c88 100644
--- a/gfx/2d/ScaledFontFontconfig.cpp
+++ b/gfx/2d/ScaledFontFontconfig.cpp
@@ -332,6 +332,7 @@ ScaledFontFontconfig::CreateFromInstanceData(const InstanceData& aInstanceData,
   RefPtr<ScaledFontFontconfig> scaledFont =
     new ScaledFontFontconfig(cairoScaledFont, pattern, aSize);
 
+  cairo_scaled_font_destroy(cairoScaledFont);
   FcPatternDestroy(pattern);
 
   return scaledFont.forget();





More information about the tbb-commits mailing list