Merge pull request #2218 from AiyionPrime/fix_respondd_leak

libgluonutil: free getline
This commit is contained in:
David Bauer 2021-05-08 22:54:10 +02:00 committed by GitHub
commit 10486b1b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;