Addresses this error reported by Denis Denisov:

  [src/scanner.c:1415]: (error) Resource leak: input

Signed-off-by: Bryce Harrington <[email protected]>
---
 src/scanner.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/scanner.c b/src/scanner.c
index 7d8cfb9..2843d85 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1415,5 +1415,6 @@ int main(int argc, char *argv[])
                        break;
        }
 
+       fclose(input);
        return 0;
 }
-- 
1.9.1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to