Merge "seamendc: fix potential double-free"
This commit is contained in:
commit
bfc800dfc0
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ static int read_cil_files(struct cil_db **db, char **paths,
|
|||
goto parse_err;
|
||||
}
|
||||
free(buff);
|
||||
buff = NULL;
|
||||
}
|
||||
|
||||
return SEPOL_OK;
|
||||
|
|
Loading…
Reference in a new issue