mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C++: More qlhelp fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE qhelp PUBLIC
|
||||
"-//Semmle//qhelp//EN"
|
||||
"qhelp.dtd">
|
||||
<qhelp><qhelp>
|
||||
<qhelp>
|
||||
|
||||
<overview>
|
||||
<p>The <code>free</code> function, which deallocates heap memory, may accept a NULL pointer and take no action. Therefore, it is unnecessary to check its argument for the value of NULL before a function call to <code>free</code>. As such, these guards may hinder performance and readability.</p>
|
||||
|
||||
Reference in New Issue
Block a user