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
This commit is contained in:
subhransu mohanty 2019-08-23 11:09:42 +09:00 committed by Hermet Park
parent 239ebbbc2c
commit 862a460e7f
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ error:
void
_c_shutdown(void)
{
if (!_c || _c->ref--) return;
if (!_c || --_c->ref) return;
if (_c->_curlm)
{
_c->curl_multi_cleanup(_c->_curlm);