mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
datastorage: fix use-after-free compiler error
Closes: #198 Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
This commit is contained in:
parent
9885d77a19
commit
a411762ee8
1 changed files with 1 additions and 1 deletions
|
@ -1332,8 +1332,8 @@ void insert_macs_from_file() {
|
|||
}
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
dawn_unregmem(fp);
|
||||
fclose(fp);
|
||||
if (line)
|
||||
{
|
||||
free(line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue