aboutsummaryrefslogtreecommitdiff
path: root/src/recipe.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-10 15:13:15 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-10 15:13:15 -0400
commit4250d9bcfcf9dbc95418c64932ad39f71ff2019e (patch)
treea50b979c8817af4017e595928da6dc4524b37d40 /src/recipe.c
parented3f041df1d891b188fabfc055547c076ce6e85e (diff)
downloadstasis-4250d9bcfcf9dbc95418c64932ad39f71ff2019e.tar.gz
Use do/while in guard_* macros to make them behave more like functions
Diffstat (limited to 'src/recipe.c')
-rw-r--r--src/recipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recipe.c b/src/recipe.c
index 1f8ddb7..43899b8 100644
--- a/src/recipe.c
+++ b/src/recipe.c
@@ -26,7 +26,7 @@ int recipe_clone(char *recipe_dir, char *url, char *gitref, char **result) {
exit(1);
}
if (rmtree(destdir)) {
- guard_free(*result)
+ guard_free(*result);
*result = NULL;
return -1;
}