fix(addressbook): close DB connection after DAV query

This commit is contained in:
Francis Lachapelle
2022-02-01 10:14:37 -05:00
parent 7c81e3acec
commit 348a79c795
4 changed files with 24 additions and 7 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
/* SOGoContactSourceFolder.m - this file is part of SOGo
*
* Copyright (C) 2006-2021 Inverse inc.
* Copyright (C) 2006-2022 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -700,6 +700,7 @@
RELEASE(pool);
[response appendContentString: buffer];
RELEASE(buffer);
[source releaseConnection: connection];
// NSLog (@"/adding properties with url");
NSZoneFree (NULL, propertiesArray);