diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-12-10 01:05:48 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-12-10 01:05:48 -0500 |
commit | c12470a965c395f3c589675597876ec9c4508913 (patch) | |
tree | 74593885e66f373e38ba4f8ff66af4eeb5c4f259 | |
parent | 2497ec1fbbf0375ef7e00aa0b4c5d550c751dc88 (diff) | |
download | stasis-c12470a965c395f3c589675597876ec9c4508913.tar.gz |
guard_free() all pointers
-rw-r--r-- | src/recipe.c | 2 |
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; } |