# HG changeset patch # User Mike Becker # Date 1527672388 -7200 # Node ID 0b96ae226838952559291957601a5853079615ba # Parent 92f8a2a243fcf06e029fb91c390e5e6659a8348c fixes double-malloc() in tags.c + marks a realloc() problem diff -r 92f8a2a243fc -r 0b96ae226838 dav/tags.c --- a/dav/tags.c Wed May 30 11:00:37 2018 +0200 +++ b/dav/tags.c Wed May 30 11:26:28 2018 +0200 @@ -204,7 +204,6 @@ int colorlen = len - namelen - 1; DavTag *tag = malloc(sizeof(DavTag)); - tag = malloc(sizeof(DavTag)); tag->name = malloc(namelen + 1); memcpy(tag->name, name, namelen); tag->name[namelen] = 0;