curl/0001-fix-double-free-when-multi-perform.patch

25 lines
580 B
Diff
Raw Normal View History

2019-09-30 10:36:29 -04:00
From 8df95297b910daa93627eb3edb89f863e6867b93 Mon Sep 17 00:00:00 2001
From: wangjia <wangjia55@huawei.com>
Date: Sat, 30 Mar 2019 01:14:21 -0400
Subject: [PATCH] fix double free when multi perform
---
lib/multi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/multi.c b/lib/multi.c
index 49b8b19..228a3da 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2034,7 +2034,6 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
else if(comeback)
rc = CURLM_CALL_MULTI_PERFORM;
- free(newurl);
break;
}
--
2.19.1