code style
diff --git a/cs.c b/cs.c
index 1d1634d..c4f8c8f 100644
--- a/cs.c
+++ b/cs.c
@@ -447,12 +447,12 @@
 
 	total_size = sizeof(cs_insn) * cache_size;
 	total = cs_mem_malloc(total_size);
-	if (total == NULL)
-	{
-		//malloc failed
+	if (total == NULL) {
+		// insufficient memory
 		handle->errnum = CS_ERR_MEM;
 		return 0;
 	}
+
 	insn_cache = total;
 
 	while (size > 0) {