Commit 5c12b037 authored by aiyion.prime's avatar aiyion.prime
Browse files

libgluonutil: free getline


Co-Authored-By: default avatarlemoer <git@irrelefant.net>
parent 1c38906e
...@@ -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