Skip to content

Commit

Permalink
Free gsmBuffer on channel close.
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed Feb 19, 2018
1 parent 3b67190 commit 6623927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions channels/rdpsnd/client/pulse/rdpsnd_pulse.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ static void rdpsnd_pulse_free(rdpsndDevicePlugin* device)
pulse->mainloop = NULL;
}

#ifdef WITH_GSM
Stream_Free(pulse->gsmBuffer, TRUE);
#endif

free(pulse->device_name);
freerdp_dsp_context_free(pulse->dsp_context);
free(pulse);
Expand Down

0 comments on commit 6623927

Please sign in to comment.