Fixed two leaks when using AndroidHttpClient.
[zxing.git] / android / src / com / google / zxing / client / android / SearchBookContentsActivity.java
index c1e41c0..f676878 100644 (file)
@@ -294,6 +294,7 @@ public class SearchBookContentsActivity extends Activity {
         } catch (IOException e) {
           Log.e(TAG, e.toString());
         }
+        client.close();
       }
       return cookie;
     }