aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c4
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);
} //}}}
//}}}