mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Update DoubleFree.c
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
buf = malloc(intSize);
|
||||
...
|
||||
free(buf);
|
||||
buf = NULL; // GOOD
|
||||
buf = NULL;
|
||||
if(buf) free(buf); // GOOD
|
||||
...
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user