Initialized a hasher to NULL soc.2013.gobjectification

Sat, 15 Jun 2013 20:52:38 +0530

author
Ankit Vani <a@nevitus.org>
date
Sat, 15 Jun 2013 20:52:38 +0530
branch
soc.2013.gobjectification
changeset 34559
0312182e3b07
parent 34558
2e1dc888240d
child 34560
d4caeb911491

Initialized a hasher to NULL

libpurple/protocols/jabber/caps.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/caps.c	Sat Jun 15 20:41:52 2013 +0530
+++ b/libpurple/protocols/jabber/caps.c	Sat Jun 15 20:52:38 2013 +0530
@@ -457,7 +457,7 @@
 	/* Only validate if these are v1.5 capabilities */
 	if (userdata->hash) {
 		gchar *hash = NULL;
-		PurpleCipher *hasher;
+		PurpleCipher *hasher = NULL;
 		/*
 		 * TODO: If you add *any* hash here, make sure the checksum buffer
 		 * size in jabber_caps_calculate_hash is large enough. The cipher API

mercurial