Skip to content

Commit

Permalink
Update cpp/ql/src/Best Practices/GuardedFree.qhelp
Browse files Browse the repository at this point in the history
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
  • Loading branch information
jketema and mchammer01 authored Nov 28, 2024
1 parent f9d9f9b commit 6d37efc
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
@@ -4,7 +4,7 @@
<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>
<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 the argument for the value of NULL before a function call to <code>free</code>. As such, these guards may hinder performance and readability.</p>
</overview>

<recommendation>

0 comments on commit 6d37efc

Please sign in to comment.