[Non-ACR]Coverity fixes 47/225247/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120712 accepted/tizen/6.0/unified/hotfix/20201103.051135 accepted/tizen/unified/20200302.125831 submit/tizen/20200226.082715 submit/tizen/20200227.043418 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
authorAbhishek Vijay <abhishek.v@samsung.com>
Tue, 18 Feb 2020 09:52:04 +0000 (15:22 +0530)
committerAbhishek Vijay <abhishek.v@samsung.com>
Tue, 18 Feb 2020 09:54:51 +0000 (09:54 +0000)
Change-Id: I7af9722e41dc562a495b6cebe89bbae9146a7dd8
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
src/server/Timer.cpp

index a811936..e25662e 100644 (file)
@@ -153,7 +153,6 @@ public:
                deregisterSelf();
 
                g_source_destroy(__gSrc);
-               g_source_unref(__gSrc);
 
                delete this;
        }
@@ -197,7 +196,6 @@ public:
                deregisterSelf();
 
                g_source_destroy(__gSrc);
-               g_source_unref(__gSrc);
 
                delete this;
        }
@@ -241,7 +239,6 @@ public:
                deregisterSelf();
 
                g_source_destroy(__gSrc);
-               g_source_unref(__gSrc);
 
                delete this;
        }
@@ -285,7 +282,6 @@ public:
                deregisterSelf();
 
                g_source_destroy(__gSrc);
-               g_source_unref(__gSrc);
 
                delete this;
        }