libidav/config.c

changeset 6
09ac07345656
parent 2
fbdfaacc4182
child 18
af411868ab9b
--- a/libidav/config.c	Sun Jan 28 20:47:40 2024 +0100
+++ b/libidav/config.c	Mon Jan 29 10:41:00 2024 +0100
@@ -392,6 +392,7 @@
 
 DavCfgRepository* dav_repository_new(DavConfig *config) {
     DavCfgRepository *repo = cxMalloc(config->mp->allocator, sizeof(DavCfgRepository));
+    memset(repo, 0, sizeof(DavCfgRepository));
     repo->decrypt_name.value = false;
     repo->decrypt_content.value = true;
     repo->decrypt_properties.value = false;

mercurial