From a3e6c3ad3ec2368aababd76f5c6c3e8d1a5b3d3c Mon Sep 17 00:00:00 2001 From: pcarana Date: Tue, 29 Sep 2020 10:21:26 -0500 Subject: [PATCH] Avoid the same leak that existed at v1.4.0 --- src/rsync/rsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rsync/rsync.c b/src/rsync/rsync.c index e986cfdc..a6b01bfe 100644 --- a/src/rsync/rsync.c +++ b/src/rsync/rsync.c @@ -520,7 +520,7 @@ ancestor_error(char const *error_uri, void *arg) /* Ignore non rsync error'd URIs */ if (!uri_is_rsync(req_err_uri)) { - free(req_err_uri); + uri_refput(req_err_uri); return 0; } -- 2.47.2