Merge "platform: msm_shared: Correctly free the buffer of str_target"