hal: sndmonitor: Fix for Code vulnerability

Free the state pointer after printing state.

Change-Id: I718c7d4462f7dc090c177497fd1674e6119bec57
1 file changed