Code & Deploy
Code
Models
Repos
Sign in
@matheusbsbs
/
matheus-bagliano
matheus-bagliano
/
tools
/
coccinelle
/
tests
/
free.c
Code
Commits
Pulls
CI/CD
82,037
test
bisect
jch
maint
master
next
seen
test
todo
c
11 lines
104 Bytes
Copy permalink
Copy
Raw
1
int
use_FREE_AND_NULL
(
int
*
v
)
2
{
3
free
(
*
v
);
4
*
v
=
NULL
;
5
}
6
7
int
need_no_if
(
int
*
v
)
8
{
9
if
(
v
)
10
free
(
v
);
11
}