Formatting .c/.h files and fix memory leakage issues
Signed-off-by: John Chung <john.chung@arm.com>
Change-Id: Id8328f412c2724992d80c0b3f895c8f85bc4ae68
diff --git a/sections/cper-section.h b/sections/cper-section.h
index 4379f91..4ec8650 100644
--- a/sections/cper-section.h
+++ b/sections/cper-section.h
@@ -8,13 +8,13 @@
//Definition structure for a single CPER section type.
typedef struct {
- EFI_GUID* Guid;
- const char* ReadableName;
- json_object* (*ToIR)(void*, EFI_ERROR_SECTION_DESCRIPTOR*);
- void (*ToCPER)(json_object*, FILE*);
+ EFI_GUID *Guid;
+ const char *ReadableName;
+ json_object *(*ToIR)(void *);
+ void (*ToCPER)(json_object *, FILE *);
} CPER_SECTION_DEFINITION;
extern CPER_SECTION_DEFINITION section_definitions[];
extern const size_t section_definitions_len;
-#endif
\ No newline at end of file
+#endif