[glib] Fix leak in GWinHttpVfs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix leak in GWinHttpVfs
- Date: Fri, 17 Aug 2012 02:18:38 +0000 (UTC)
commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 16 22:17:46 2012 -0400
Fix leak in GWinHttpVfs
Patch by Ole Andrà Vadla RavnÃs, bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423
gio/win32/gwinhttpvfs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/win32/gwinhttpvfs.c b/gio/win32/gwinhttpvfs.c
index a0f747e..1fcc167 100644
--- a/gio/win32/gwinhttpvfs.c
+++ b/gio/win32/gwinhttpvfs.c
@@ -137,6 +137,8 @@ g_winhttp_vfs_init (GWinHttpVfs *vfs)
WINHTTP_NO_PROXY_NAME,
WINHTTP_NO_PROXY_BYPASS,
0);
+
+ g_free (wagent);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]