Fixed Brace location
authorJaehong Jo <jaehong.jo@samsung.com>
Wed, 23 Nov 2016 13:51:59 +0000 (22:51 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 28 Nov 2016 20:41:54 +0000 (20:41 +0000)
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 <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14681
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/c_common/oic_malloc/src/oic_malloc.c

index d220121..5db7b03 100644 (file)
@@ -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
+}