--- cups/http.c	2005-01-03 20:29:45.000000000 +0100
+++ cups/http.c	2009-03-27 14:45:24.924051955 +0100
@@ -308,6 +308,10 @@
     http_shutdown_ssl(http);
 #endif /* HAVE_SSL */
 
+#ifdef HAVE_GNUTLS
+  gnutls_global_deinit();
+#endif
+
 #ifdef WIN32
   closesocket(http->fd);
 #else

