add missing free() call in interface.c
This commit is contained in:
parent
7cf685dcec
commit
b5798ba95a
@ -219,6 +219,7 @@ static bool verify_workdir_state(nyx_interface_state *s, Error **errp){
|
||||
if (!folder_exits(tmp)){
|
||||
mkdir(tmp, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
|
||||
}
|
||||
free(tmp);
|
||||
|
||||
assert(asprintf(&tmp, "%s/interface_%d", workdir, id) != -1);
|
||||
if (!file_exits(tmp)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user