* fix various leaks
[citadel.git] / webcit / vcard_edit.c
index e409125d6fc2d8266e2de8d949a3f06dc60ca17d..a0c1795ba9162bcfe67d2fa5352346b03cdaf713 100644 (file)
@@ -119,6 +119,7 @@ wc_mime_attachment *load_vcard(message_summary *Msg)
 
        load_message(Msg, FoundCharset, &Error);
 
+       FreeStrBuf(&FoundCharset);
        /* look up the vcard... */
        it = GetNewHashPos(Msg->AllAttach, 0);
        while (GetNextHashPos(Msg->AllAttach, it, &len, &Key, &vMime) &&