diff options
author | Chris Robinson <[email protected]> | 2009-10-31 13:25:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-31 13:25:26 -0700 |
commit | 9d4390771034d19feaf23a45341cc58fafaced73 (patch) | |
tree | e44ce1671ac1f9fb6b66f97395d8380d097d6bf5 /Alc/pulseaudio.c | |
parent | a3fcd67a82c486e5409de5f6045f3147fb72179f (diff) |
Properly free the device name
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index d5dcf1df..4d94e9e9 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -355,11 +355,9 @@ static void pulse_close(ALCdevice *device) //{{{ ppa_threaded_mainloop_stop(data->loop); ppa_threaded_mainloop_free(data->loop); - device->ExtraData = NULL; - free(device->szDeviceName); - device->szDeviceName = NULL; DestroyRingBuffer(data->ring); + device->ExtraData = NULL; ppa_xfree(data); } //}}} //}}} |