aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/recipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recipe.c b/src/recipe.c
index 3d5b3ec..159affe 100644
--- a/src/recipe.c
+++ b/src/recipe.c
@@ -25,7 +25,7 @@ int recipe_clone(char *recipe_dir, char *url, char *gitref, char **result) {
recipe_dir, reponame, destdir);
}
if (rmtree(destdir)) {
- free(*result);
+ guard_free(*result)
*result = NULL;
return -1;
}