summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 6821c54..84ecdb4 100644
--- a/src/io.c
+++ b/src/io.c
@@ -586,6 +586,11 @@ int apk_file_get_info(int atfd, const char *filename, unsigned int flags,
return 0;
}
+void apk_file_info_free(struct apk_file_info *fi)
+{
+ apk_xattr_array_free(&fi->xattrs);
+}
+
int apk_dir_foreach_file(int dirfd, apk_dir_file_cb cb, void *ctx)
{
struct dirent *de;