summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compression.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/compression.c b/src/common/compression.c
index d443924..982ac6a 100644
--- a/src/common/compression.c
+++ b/src/common/compression.c
@@ -68,7 +68,7 @@ CPError add_file_into_archive(struct archive *output, const char *filename, cons
{
perror("stat");
result = CPE_SYSTEM_ERROR;
- goto afia_exit;
+ goto afia_quick_exit;
}
entry = archive_entry_new();
@@ -105,6 +105,8 @@ CPError add_file_into_archive(struct archive *output, const char *filename, cons
archive_entry_free(entry);
+ afia_quick_exit:
+
return result;
}