Correct potential leaks in xapp class.

Sonar identified some potential memory leaks in the run function
of the xapp class. This change addresses those issues, and ensures
that the unused parameter grumblings which were attempted to be
corrected in the last change are also addressed.

Issue-ID: RIC-629

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I2fe2f4b681780cd60235a0c38ed4709af871abbe
diff --git a/CHANGES b/CHANGES
index 5a9ef6c..864388f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
 # squished to one.
 
 release = Cherry
+2020 13 August; version 2.2.2
+	Correct potential memory leaks in xapp class (RIC-629)
+
 2020 July 31; version 2.2.1
 	Correct "bugs" according to sonar (RIC-629)