* locate_user_vcard_in_this_room() lost the ability to return the msgnum of the vcard...
[citadel.git] / webcit / auth.c
index a4837d9311bc00777a55548d97e65524b968dcda..663f3d246af1e75134cdea0933a5b3514ac1be67 100644 (file)
@@ -741,8 +741,8 @@ void validate(void)
 void display_reg(int during_login)
 {
        StrBuf *Buf;
-       message_summary *VCMsg;
-       wc_mime_attachment *VCAtt;
+       message_summary *VCMsg = NULL;
+       wc_mime_attachment *VCAtt = NULL;
        long vcard_msgnum;
 
        Buf = NewStrBuf();
@@ -777,6 +777,8 @@ void display_reg(int during_login)
        else {
                do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, "display_main_menu", USERCONFIGROOM);
        }
+
+       /* FIXME don't we have to free VCMsg and VCAtt ?? */
 }