libgluonutil: free getline

Co-Authored-By: lemoer <git@irrelefant.net>
This commit is contained in:
aiyion.prime 2021-05-08 20:34:41 +02:00
parent 1c38906eef
commit 5c12b037d7

View File

@ -196,6 +196,7 @@ enum gluonutil_interface_type gluonutil_get_interface_type(const char *ifname) {
break;
}
}
free(line);
fclose(f);
return ret;