From 477615fbf30e77c280caba530c5a7730feb2d5c0 Mon Sep 17 00:00:00 2001 From: "darpan.ka" Date: Wed, 3 Apr 2013 14:25:12 +0530 Subject: [PATCH] Prevent defect fix(49031) Change-Id: I858f54eb9806223bd610d5af83e8ab0bd76feef6 Signed-off-by: darpan.ka --- src/base/runtime/FBaseRt_MutexImpl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/base/runtime/FBaseRt_MutexImpl.cpp b/src/base/runtime/FBaseRt_MutexImpl.cpp index 3611f4a..6a9f206 100755 --- a/src/base/runtime/FBaseRt_MutexImpl.cpp +++ b/src/base/runtime/FBaseRt_MutexImpl.cpp @@ -85,11 +85,7 @@ _MutexImpl::CreateNonRecursiveMutex(void) return E_SUCCESS; CATCH: - if (pMutex != null) - { - free(pMutex); - } - + free(pMutex); return r; } -- 2.7.4