[openchange/f15] Add patch for Red Hat bug #712485 (connections not closed)

Milan Crha mcrha at fedoraproject.org
Mon Jun 13 08:54:46 UTC 2011


commit b9c1cb75a97dc033ee8e44477f88219c65516ef3
Author: Milan Crha <mcrha at redhat.com>
Date:   Mon Jun 13 10:54:16 2011 +0200

    Add patch for Red Hat bug #712485 (connections not closed)

 openchange-0.9-close-connections.patch |   11 +++++++++++
 openchange.spec                        |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/openchange-0.9-close-connections.patch b/openchange-0.9-close-connections.patch
new file mode 100644
index 0000000..198bcae
--- /dev/null
+++ b/openchange-0.9-close-connections.patch
@@ -0,0 +1,11 @@
+diff -up openchange-0.9-COCHRANE/libmapi/IMSProvider.c.close-connections openchange-0.9-COCHRANE/libmapi/IMSProvider.c
+--- openchange-0.9-COCHRANE/libmapi/IMSProvider.c.close-connections	2011-06-13 10:51:04.208854188 +0200
++++ openchange-0.9-COCHRANE/libmapi/IMSProvider.c	2011-06-13 10:52:32.075728473 +0200
+@@ -306,6 +306,7 @@ _PUBLIC_ enum MAPISTATUS Logoff(mapi_obj
+ 			found = true;
+ 			mapi_object_release(obj_store);
+ 			DLIST_REMOVE(global_mapi_ctx->session, el);
++			MAPIFreeBuffer(session);
+ 			break;
+ 		}
+ 	}
diff --git a/openchange.spec b/openchange.spec
index 90c40dc..8d8e8ae 100644
--- a/openchange.spec
+++ b/openchange.spec
@@ -13,7 +13,7 @@
 
 Name: openchange
 Version: 0.9
-Release: 17%{?dist}
+Release: 18%{?dist}
 Group: Applications/System
 Summary: Provides access to Microsoft Exchange servers using native protocols
 License: GPLv3+ and Public Domain
@@ -64,6 +64,9 @@ Patch5: openchange-0.9-unicode-props.patch
 # RH bug #694374
 Patch6: openchange-0.9-X400-addresses.patch
 
+# RH bug #712485
+Patch7: openchange-0.9-close-connections.patch
+
 %description
 OpenChange provides libraries to access Microsoft Exchange servers
 using native protocols.
@@ -126,6 +129,7 @@ This package provides the server elements for OpenChange.
 %patch4 -p1 -b .send-message
 %patch5 -p1 -b .unicode-props
 %patch6 -p1 -b .X400-addresses
+%patch7 -p1 -b .close-connections
 
 %build
 %configure
@@ -256,6 +260,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Jun 13 2011 Milan Crha <mcrha at redhat.com> - 0.9-18
+- Add patch for Red Hat bug #712485 (connections not closed)
+
 * Wed May 11 2011 Milan Crha <mcrha at redhat.com> - 0.9-17
 - Add patch for Red Hat bug #694374 (crash with X400 addresses)
 


More information about the scm-commits mailing list