projects
/
cyrus-sasl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbfe1c1
)
cleanup
author
Luke Howard
<lukeh@padl.com>
Mon, 13 Sep 2010 15:05:20 +0000
(17:05 +0200)
committer
Luke Howard
<lukeh@padl.com>
Mon, 13 Sep 2010 15:05:20 +0000
(17:05 +0200)
mech_eap/util_ordering.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_ordering.c
b/mech_eap/util_ordering.c
index
78d786c
..
47c73d4
100644
(file)
--- a/
mech_eap/util_ordering.c
+++ b/
mech_eap/util_ordering.c
@@
-270,7
+270,8
@@
sequenceInternalize(void **vqueue, unsigned char **buf, size_t *lenremain)
if (*lenremain < sizeof(queue))
return ERANGE;
- if ((q = GSSEAP_MALLOC(sizeof(queue))) == 0)
+ q = GSSEAP_MALLOC(sizeof(queue));
+ if (q == NULL)
return ENOMEM;
memcpy(q, *buf, sizeof(queue));
*buf += sizeof(queue);