[ipaccess] Close the firmware file as well
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c
index cec7664..2577c49 100644
--- a/openbsc/src/ipaccess/ipaccess-config.c
+++ b/openbsc/src/ipaccess/ipaccess-config.c
@@ -414,6 +414,10 @@
 	}
 
 	ipaccess_analyze_file(fd, stat.st_size, 0, entry);
+	if (close(fd) != 0) {
+		perror("Close failed.\n");
+		return;
+	}
 
 	llist_for_each_entry(header, entry, entry) {
 		printf("Printing header information:\n");