Formatting .c/.h files and fix memory leakage issues

Signed-off-by: John Chung <john.chung@arm.com>
Change-Id: Id8328f412c2724992d80c0b3f895c8f85bc4ae68
diff --git a/common-utils.c b/common-utils.c
index 38c4317..9c6de07 100644
--- a/common-utils.c
+++ b/common-utils.c
@@ -25,4 +25,4 @@
 	}
 
 	return result;
-}
\ No newline at end of file
+}