diff options
-rw-r--r-- | src/artifactory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/artifactory.c b/src/artifactory.c index bd20c63..8cc0db5 100644 --- a/src/artifactory.c +++ b/src/artifactory.c @@ -447,6 +447,10 @@ int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *s int status = jfrog_cli_rt(auth, cmd); if (new_src) { popd(); + guard_free(new_src); + } + if (base) { + guard_free(base); } return status; |