Clean up properly in cper-convert

This could potentially leave a json_object around, fix it.

Change-Id: I9a413cdb57ea23a5450691f535f08010c635a9ad
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/cli-app/cper-convert.c b/cli-app/cper-convert.c
index bb06be9..082e452 100644
--- a/cli-app/cper-convert.c
+++ b/cli-app/cper-convert.c
@@ -149,6 +149,7 @@
 	if (cper_file == NULL) {
 		printf("Could not open output file '%s', file handle returned null.\n",
 		       out_file);
+		json_object_put(ir);
 		return;
 	}