summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2011-11-23 10:27:18 +0000
committerkevlo <kevlo@FreeBSD.org>2011-11-23 10:27:18 +0000
commit2fca8765a2f8f21d5d59ea3a791e5ca51fba50dc (patch)
tree0f2f3e671dd7714749793d35d1d678111be67f3b /usr.sbin/bluetooth
parent636924cae77a11f6f84663fada352e6c5ee88715 (diff)
downloadFreeBSD-src-2fca8765a2f8f21d5d59ea3a791e5ca51fba50dc.zip
FreeBSD-src-2fca8765a2f8f21d5d59ea3a791e5ca51fba50dc.tar.gz
Plug fd leaks
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/bt3cfw/bt3cfw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.c b/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
index aadb6b6..fcc8d1d 100644
--- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
+++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
@@ -221,6 +221,7 @@ main(int argc, char *argv[])
free(firmware);
firmware = NULL;
+ fclose(firmware_file);
return (0);
}
OpenPOWER on IntegriCloud