On 26 January 2017 at 23:16, Alin Serdean <[email protected]>
wrote:

> Close the 'input_file' after data is read.
>
> Signed-off-by: Alin Gabriel Serdean <[email protected]>
>
Applied.


> ---
>  tests/test-rstp.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/test-rstp.c b/tests/test-rstp.c
> index 2ee8c7e..7bcff83 100644
> --- a/tests/test-rstp.c
> +++ b/tests/test-rstp.c
> @@ -691,6 +691,7 @@ test_rstp_main(int argc, char *argv[])
>          }
>      }
>      free(token);
> +    fclose(input_file);
>
>      for (i = 0; i < tc->n_lans; i++) {
>          struct lan *lan = tc->lans[i];
> --
> 2.10.2.windows.1
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to