Skip to content

Commit 6aa7c93

Browse files
committed
C++: More qlhelp fixes
1 parent fc6c327 commit 6aa7c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Best Practices/GuardedFree.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE qhelp PUBLIC
22
"-//Semmle//qhelp//EN"
33
"qhelp.dtd">
4-
<qhelp><qhelp>
4+
<qhelp>
55

66
<overview>
77
<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>

0 commit comments

Comments
 (0)