C++: More qlhelp fixes

This commit is contained in:
Jeroen Ketema
2024-11-26 13:58:54 +01:00
parent fc6c327ab7
commit 6aa7c93af2

View File

@@ -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>