summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index 91eb21a..6ac847a 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -379,6 +379,7 @@ static int opkg_finalize_intercepts(opkg_intercept_t ctx)
}
free (path);
}
+ closedir(dir);
} else
perror (ctx->statedir);