summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorsubhransu mohanty <sub.mohanty@samsung.com>2019-08-23 11:09:42 +0900
committerHermet Park <hermetpark@gmail.com>2019-08-23 11:09:42 +0900
commit862a460e7fe30b35dab3c249e0e0bfb680340824 (patch)
tree548d38bad514849ac91fabc56bb8d8df7dcce6df /src/lib/ecore_con
parent239ebbbc2c7c6373ab7582340979cefa1a25b685 (diff)
ecore_con/memleak: due to checking refcount using postfix decrement operator
Reviewers: Hermet, raster, cedric Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9716
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_url_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_con/ecore_con_url_curl.c b/src/lib/ecore_con/ecore_con_url_curl.c
index 6e8d9e7..4217f91 100644
--- a/src/lib/ecore_con/ecore_con_url_curl.c
+++ b/src/lib/ecore_con/ecore_con_url_curl.c
@@ -347,7 +347,7 @@ error:
347void 347void
348_c_shutdown(void) 348_c_shutdown(void)
349{ 349{
350 if (!_c || _c->ref--) return; 350 if (!_c || --_c->ref) return;
351 if (_c->_curlm) 351 if (_c->_curlm)
352 { 352 {
353 _c->curl_multi_cleanup(_c->_curlm); 353 _c->curl_multi_cleanup(_c->_curlm);