mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
We don't need check if str is NULL as free(3) will handle NULL
argument. Reported by: kib@
This commit is contained in:
parent
d3a60796db
commit
13ee81bed5
1 changed files with 1 additions and 2 deletions
|
|
@ -255,8 +255,7 @@ topology_parse(const char *opt)
|
|||
return(0);
|
||||
|
||||
out:
|
||||
if (str != NULL)
|
||||
free(str);
|
||||
free(str);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue