]> sigrok.org Git - sigrok-cli.git/commitdiff
input: Use sr_input_end() at end of input stream.
authorBert Vermeulen <redacted>
Tue, 23 Sep 2014 10:16:50 +0000 (12:16 +0200)
committerBert Vermeulen <redacted>
Mon, 29 Sep 2014 23:52:48 +0000 (01:52 +0200)
input.c

diff --git a/input.c b/input.c
index 1b5d07e6c0ff19a9efa00370e2623035567afcc8..b81e84b47a5ab94541636dc02008aa256add3608 100644 (file)
--- a/input.c
+++ b/input.c
@@ -137,6 +137,7 @@ static void load_input_file_module(void)
                }
 
        }
+       sr_input_end(in);
        sr_input_free(in);
        g_string_free(buf, TRUE);