Author: thomasvm
Date: 2007-01-13 12:29:01 -0500 (Sat, 13 Jan 2007)
New Revision: 70959

Modified:
   trunk/smugmug-sharp/ChangeLog
   trunk/smugmug-sharp/src/Mono.SmugMug/SmugMugUtil.cs
Log:
2007-01-13 Thomas Van Machelen <[EMAIL PROTECTED]>
        * src/Mono.SmugMug/SmugMugUtil.cs: always close the web response 



Modified: trunk/smugmug-sharp/ChangeLog
===================================================================
--- trunk/smugmug-sharp/ChangeLog       2007-01-13 15:50:32 UTC (rev 70958)
+++ trunk/smugmug-sharp/ChangeLog       2007-01-13 17:29:01 UTC (rev 70959)
@@ -1,3 +1,6 @@
+2007-01-13 Thomas Van Machelen <[EMAIL PROTECTED]>
+       * src/Mono.SmugMug/SmugMugUtil.cs: always close the web response 
+
 2007-01-05 Thomas Van Machelen <[EMAIL PROTECTED]>
        * src/Mono.SmugMug/ImageInfo.cs: fix the album id property
 

Modified: trunk/smugmug-sharp/src/Mono.SmugMug/SmugMugUtil.cs
===================================================================
--- trunk/smugmug-sharp/src/Mono.SmugMug/SmugMugUtil.cs 2007-01-13 15:50:32 UTC 
(rev 70958)
+++ trunk/smugmug-sharp/src/Mono.SmugMug/SmugMugUtil.cs 2007-01-13 17:29:01 UTC 
(rev 70959)
@@ -72,7 +72,9 @@
                        request.Credentials = 
CredentialCache.DefaultCredentials;
                        WebResponse web_response = request.GetResponse ();
 
-                       return (Response)response_serializer.Deserialize 
(web_response.GetResponseStream ());
+                       Response result = 
(Response)response_serializer.Deserialize (web_response.GetResponseStream ());
+                       web_response.Close ();
+                       return result;
                }
 
                private static string GetResponseString (string url)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to