projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccf7e9
)
test-stp: Fix leak of open file descriptor for input_file
author
Thomas Graf
<tgraf@noironetworks.com>
Mon, 1 Sep 2014 16:09:57 +0000
(18:09 +0200)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 2 Sep 2014 15:36:58 +0000
(08:36 -0700)
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/test-stp.c
patch
|
blob
|
history
diff --git
a/tests/test-stp.c
b/tests/test-stp.c
index
9ca9c6c
..
c4e5933
100644
(file)
--- a/
tests/test-stp.c
+++ b/
tests/test-stp.c
@@
-666,6
+666,7
@@
test_stp_main(int argc, char *argv[])
free(bridge);
}
free(tc);
+ fclose(input_file);
}
OVSTEST_REGISTER("test-stp", test_stp_main);