summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/inspect_apps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspect_apps.c b/src/inspect_apps.c
index 2f3e3f15..a61248b3 100644
--- a/src/inspect_apps.c
+++ b/src/inspect_apps.c
@@ -391,6 +391,7 @@ list_applications_deb (guestfs_h *g, struct inspect_fs *fs)
if (fclose (fp) == -1) {
perrorf (g, "fclose: %s", status);
+ fp = NULL;
goto out;
}
fp = NULL;