Fix memory leak in offload thread

Bug: 28246405
Change-Id: I89d4fb070c5603049f3d5bac53b4b3c08e177287
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 6766142..b95ddf6 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -993,6 +993,7 @@
 
         if (out->compr == NULL) {
             ALOGE("%s: Compress handle is NULL", __func__);
+            free(cmd);
             pthread_cond_signal(&out->cond);
             continue;
         }