Skip to content

Commit

Permalink
C++: More qlhelp fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jketema committed Nov 26, 2024
1 parent fc6c327 commit 6aa7c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/ql/src/Best Practices/GuardedFree.qhelp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 6aa7c93

Please sign in to comment.