Fri, 20 Sep 2019 20:27:05 +0200
fix missing namespaceinfo map initializataion
libidav/webdav.c | file | annotate | diff | comparison | revisions |
--- 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;