diff options
Diffstat (limited to 'apps/recorder/pcm_record.c')
-rw-r--r-- | apps/recorder/pcm_record.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/pcm_record.c b/apps/recorder/pcm_record.c index 0f6e8469ec..d3d45d3e1c 100644 --- a/apps/recorder/pcm_record.c +++ b/apps/recorder/pcm_record.c | |||
@@ -1437,8 +1437,7 @@ static void on_close_recording(void) | |||
1437 | audio_set_output_source(AUDIO_SRC_PLAYBACK); | 1437 | audio_set_output_source(AUDIO_SRC_PLAYBACK); |
1438 | pcm_apply_settings(); | 1438 | pcm_apply_settings(); |
1439 | 1439 | ||
1440 | if (pcmrec_handle > 0) | 1440 | pcmrec_handle = core_free(pcmrec_handle); |
1441 | pcmrec_handle = core_free(pcmrec_handle); | ||
1442 | talk_buffer_set_policy(TALK_BUFFER_DEFAULT); | 1441 | talk_buffer_set_policy(TALK_BUFFER_DEFAULT); |
1443 | 1442 | ||
1444 | send_event(RECORDING_EVENT_STOP, NULL); | 1443 | send_event(RECORDING_EVENT_STOP, NULL); |