Blob Blame Raw
From 81b5b96b09370b9ef2152d672f33d4af0efcd908 Mon Sep 17 00:00:00 2001
From: Jon Trulson <jon@radscan.com>
Date: Fri, 2 Mar 2018 14:42:21 -0700
Subject: [PATCH] AuErrDes.c: fclose file on return, fixes bug #6
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Petr Písař <ppisar@redhat.com>
---
 lib/audio/AuErrDes.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/audio/AuErrDes.c b/lib/audio/AuErrDes.c
index 157423a..e0422c3 100644
--- a/lib/audio/AuErrDes.c
+++ b/lib/audio/AuErrDes.c
@@ -174,6 +174,8 @@ getFileDataBase(const char *filename)
 	}
     }
 
+    fclose(fp);
+
     return (XrmDatabase) db;
 }
 
-- 
2.21.1