Unverified Commit 10486b1b authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

Merge pull request #2218 from AiyionPrime/fix_respondd_leak

libgluonutil: free getline
parents 1c38906e 5c12b037
...@@ -196,6 +196,7 @@ enum gluonutil_interface_type gluonutil_get_interface_type(const char *ifname) { ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment