Fix leak in GWinHttpVfs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Aug 2012 02:17:46 +0000 (22:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Aug 2012 02:17:46 +0000 (22:17 -0400)
Patch by Ole André Vadla Ravnås, bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423

gio/win32/gwinhttpvfs.c

index a0f747e..1fcc167 100644 (file)
@@ -137,6 +137,8 @@ g_winhttp_vfs_init (GWinHttpVfs *vfs)
      WINHTTP_NO_PROXY_NAME,
      WINHTTP_NO_PROXY_BYPASS,
      0);
+
+  g_free (wagent);
 }
 
 /*