# HG changeset patch # User Olaf Wintermann # Date 1569004025 -7200 # Node ID ad61c1654dcec11d9c18ea0fd57595b52dabbbca # Parent a38b1506184878cc49f5e3f5b86aedf9576c9039 fix missing namespaceinfo map initializataion diff -r a38b15061848 -r ad61c1654dce libidav/webdav.c --- a/libidav/webdav.c Tue Sep 17 21:21:36 2019 +0200 +++ b/libidav/webdav.c Fri Sep 20 20:27:05 2019 +0200 @@ -63,6 +63,10 @@ dav_context_destroy(context); return NULL; } + context->namespaceinfo = ucx_map_new(16); + if(!context->namespaceinfo) { + dav_context_destroy(context); + } context->keys = ucx_map_new(16); if(!context->keys) { dav_context_destroy(context); @@ -122,6 +126,9 @@ } ucx_map_free(ctx->namespaces); } + if(ctx->namespaceinfo) { + // TODO: implement + } if(ctx->keys) { UcxMapIterator i = ucx_map_iterator(ctx->keys); UcxKey k;