aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-10-26 18:10:35 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-28 10:52:21 +1100
commit73df7defaad3a4bd00f40b00e21e87718d24fd65 (patch)
tree11ff6cd5ef26e67a6ed669f5178da8dfdf948d21 /libstb
parentc25007d0d884ed358cbd7f06e5047bbebad9598f (diff)
downloadskiboot-73df7defaad3a4bd00f40b00e21e87718d24fd65.zip
skiboot-73df7defaad3a4bd00f40b00e21e87718d24fd65.tar.gz
skiboot-73df7defaad3a4bd00f40b00e21e87718d24fd65.tar.bz2
print-stb-container: close(fd) to clean up neatly
Fixes: fab5418b256817e2695aa653d4840bfa5b5be53b Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb')
-rw-r--r--libstb/test/print-stb-container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstb/test/print-stb-container.c b/libstb/test/print-stb-container.c
index 51566c0..8ce623d 100644
--- a/libstb/test/print-stb-container.c
+++ b/libstb/test/print-stb-container.c
@@ -191,6 +191,7 @@ static void display_container(char* f)
display_sw_sig(c.ssig);
free(container);
+ close(fd);
}
int main(int argc, char* argv[])