You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpp/ql/src/Best Practices/GuardedFree.qhelp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<!DOCTYPEqhelp PUBLIC
2
2
"-//Semmle//qhelp//EN"
3
3
"qhelp.dtd">
4
-
<qhelp><qhelp>
4
+
<qhelp>
5
5
6
6
<overview>
7
7
<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