diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/hash.c | 1 | ||||
-rw-r--r-- | common/lexer.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/hash.c b/common/hash.c index 68a6d40..5572085 100644 --- a/common/hash.c +++ b/common/hash.c @@ -143,6 +143,7 @@ p11_hash_murmur3 (void *hash, h1 = rotl (h1, 13); h1 = h1 * 5 + 0xe6546b64; } + va_end (va); /* tail */ diff --git a/common/lexer.c b/common/lexer.c index 329881f..6253492 100644 --- a/common/lexer.c +++ b/common/lexer.c @@ -102,7 +102,8 @@ p11_lexer_next (p11_lexer *lexer, return_val_if_fail (lexer != NULL, false); clear_state (lexer); - *failed = false; + if (failed) + *failed = false; /* Go through lines and process them */ while (lexer->remaining != 0) { |