ALSA: little fix
Felix Nawothnig
felix.nawothnig at t-online.de
Tue Mar 30 18:21:53 CST 2004
ChangeLog:
- Don't free ALSA device string when the device is closed since it
might be reopened.
Index: audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
retrieving revision 1.32
diff -u -r1.32 audio.c
--- audio.c 27 Mar 2004 01:38:54 -0000 1.32
+++ audio.c 31 Mar 2004 00:16:28 -0000
@@ -1557,8 +1557,6 @@
wwo->p_handle = NULL;
ret = wodNotifyClient(wwo, WOM_CLOSE, 0L, 0L);
-
- HeapFree(GetProcessHeap(), 0, wwo->device);
}
HeapFree(GetProcessHeap(), 0, wwo->ufds);
@@ -3044,8 +3042,6 @@
wwi->p_handle = NULL;
ret = widNotifyClient(wwi, WIM_CLOSE, 0L, 0L);
-
- HeapFree(GetProcessHeap(), 0, wwi->device);
}
HeapFree(GetProcessHeap(), 0, wwi->ufds);
More information about the wine-patches
mailing list