yanglint BUGFIX memory leak
In case of input file with unknown format (suffix), the input handler
was not correctly freed.
@@ -381,6 +381,9 @@ fill_context_inputs(int argc, char *argv[], struct context *c)
request_expected = 1;
}
+ } else {
+ ly_in_free(in, 1);
+ in = NULL;
}
}
