X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsubst.c;h=3a9d26169f6142024c90f1d8338b76f08a23e011;hb=5ff176c92b230cd009781dba2b1cda9c7df53b65;hp=4e08db7ace058e6464fdd11db346d417f143a139;hpb=fb181fc0c1be1f3f05e7891e635c2ad5503b3abc;p=citadel.git diff --git a/webcit/subst.c b/webcit/subst.c index 4e08db7ac..3a9d26169 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -110,6 +110,7 @@ const char *CtxNames[] = { "Context ICAL", "Context DavNamespace", "Context TAB", + "Context VCARD", "Context UNKNOWN" }; @@ -881,6 +882,8 @@ int GetNextParameter(StrBuf *Buf, } } } + FreeStrBuf(&pToken); + FreeStrBuf(&Match); } else if (strchr(Parm->Start, '&') != NULL) { @@ -917,6 +920,8 @@ int GetNextParameter(StrBuf *Buf, } } } + FreeStrBuf(&Match); + FreeStrBuf(&pToken); } else {