pal: Fix for Static Code Analysis issue.

Use delete[] instead of free for a pointer allocated
via new[]

Change-Id: I734e7ca6d71eda7b2d176ccfe62da3155f05e2dc
diff --git a/session/src/PayloadBuilder.cpp b/session/src/PayloadBuilder.cpp
index 4a07e3f..d57ce10 100644
--- a/session/src/PayloadBuilder.cpp
+++ b/session/src/PayloadBuilder.cpp
@@ -2047,7 +2047,7 @@
         mediaFmtPayload->alignment       = PCM_MSB_ALIGNED;
     } else {
         PAL_ERR(LOG_TAG, "invalid bit width %d", data->bit_width);
-        free(payloadInfo);
+        delete[] payloadInfo;
         payloadInfo = NULL;
         *size = 0;
         *payload = NULL;