Merge pull request #2218 from AiyionPrime/fix_respondd_leak
libgluonutil: free getline
This commit is contained in:
commit
10486b1b7a
@ -196,6 +196,7 @@ enum gluonutil_interface_type gluonutil_get_interface_type(const char *ifname) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
free(line);
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user