From 7079f015fc3985fab9cded2a25f496ef9a357c69 Mon Sep 17 00:00:00 2001 From: "erik%netscape.com" Date: Fri, 30 Apr 1999 18:28:47 +0000 Subject: [PATCH] Fix for bug 5778. I forgot to release the prefs service. Approved chofmann. git-svn-id: svn://10.0.0.236/trunk@29847 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp b/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp index 83cf6c9e22c..19232a88034 100644 --- a/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp +++ b/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp @@ -92,6 +92,7 @@ NS_IMETHODIMP nsDeviceContextGTK::Init(nsNativeWidget aNativeWidget) dpi = nscoord(screenWidth / screenWidthIn); } } + nsServiceManager::ReleaseService(kPrefCID, prefs); } }