Skip to content
Snippets Groups Projects
Commit 1f816681 authored by Mergen Imeev's avatar Mergen Imeev Committed by Vladimir Davydov
Browse files

sql: return if argument is NULL in sql_xfree()

The sql_xfree() function can take NULL as an argument, and this is not
an error because db->lookaside.pStart > NULL. However, this causes
warnings from static analyzers. Let's add an explicit check to avoid
these warnings.

Part of tarantool/security#120

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring
parent 50036331
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment