]> code.citadel.org Git - citadel.git/blobdiff - webcit/subst.c
* add VCard-Context
[citadel.git] / webcit / subst.c
index 90c76eca305b2fd9404d4c236cf573cce783b0d6..3a9d26169f6142024c90f1d8338b76f08a23e011 100644 (file)
@@ -1,6 +1,3 @@
-/*
- * $Id$
- */
 #include "sysdep.h"
 
 
@@ -113,6 +110,7 @@ const char *CtxNames[]  = {
        "Context ICAL",
        "Context DavNamespace",
        "Context TAB",
+       "Context VCARD",
        "Context UNKNOWN"
 };
 
@@ -884,6 +882,8 @@ int GetNextParameter(StrBuf *Buf,
                                        }
                                }
                        }
+                       FreeStrBuf(&pToken);
+                       FreeStrBuf(&Match);
                }
                else if (strchr(Parm->Start, '&') != NULL)
                {
@@ -920,6 +920,8 @@ int GetNextParameter(StrBuf *Buf,
                                        }
                                }
                        }
+                       FreeStrBuf(&Match);
+                       FreeStrBuf(&pToken);
                }
                else {