diff --git a/src/XMPPCommands/MUCKV.c b/src/XMPPCommands/MUCKV.c index 4bcf010..6dba478 100644 --- a/src/XMPPCommands/MUCKV.c +++ b/src/XMPPCommands/MUCKV.c @@ -22,7 +22,7 @@ MUCSetKey(XMPPCommandManager *m, char *from, XMLElement *form, XMLElement *out) char *chat_id; char *muc; - char *key, *val; + char *key = NULL, *val = NULL; ParseeLookupAffiliation(from, &affiliation, &role); Free(role);