From 49fd68a2381553611d0fef8aaaf7d64fba1b7c3b Mon Sep 17 00:00:00 2001 From: Jaehong Jo Date: Wed, 23 Nov 2016 22:51:59 +0900 Subject: [PATCH] Fixed Brace location The matched '{' and '}' symbols in compound statements(except do-while) shall have the same indentation, and these symbols in a line shall be used alone (except comment) Change-Id: I3f760f430120a2bea371376eb0a589189613e64e Signed-off-by: Jaehong Jo Reviewed-on: https://gerrit.iotivity.org/gerrit/14681 Tested-by: jenkins-iotivity Reviewed-by: Dan Mihai --- resource/c_common/oic_malloc/src/oic_malloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resource/c_common/oic_malloc/src/oic_malloc.c b/resource/c_common/oic_malloc/src/oic_malloc.c index d220121..5db7b03 100644 --- a/resource/c_common/oic_malloc/src/oic_malloc.c +++ b/resource/c_common/oic_malloc/src/oic_malloc.c @@ -143,7 +143,8 @@ void OICFree(void *ptr) void OICClearMemory(void *buf, size_t n) { - if (NULL != buf) { + if (NULL != buf) + { #ifdef HAVE_WINDOWS_H SecureZeroMemory(buf, n); #else @@ -154,4 +155,4 @@ void OICClearMemory(void *buf, size_t n) } #endif } -} \ No newline at end of file +} -- 2.7.4