comparison src/ntplay.c @ 1726:a8d8f419b459

[xemacs-hg @ 2003-09-30 15:26:34 by james] Add type information to xfree to avoid alias creation.
author james
date Tue, 30 Sep 2003 15:27:01 +0000
parents 943eaba38521
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
1725:7ff8f4d70aec 1726:a8d8f419b459
66 } 66 }
67 67
68 if (retry_read (ofd, data, size) != size) 68 if (retry_read (ofd, data, size) != size)
69 { 69 {
70 retry_close (ofd); 70 retry_close (ofd);
71 xfree (data); 71 xfree (data, UChar_Binary *);
72 return; 72 return;
73 } 73 }
74 retry_close (ofd); 74 retry_close (ofd);
75 75
76 play_sound_data_1 (data, size, 100, FALSE); 76 play_sound_data_1 (data, size, 100, FALSE);
88 DWORD flags = SND_ASYNC | SND_MEMORY | SND_NODEFAULT; 88 DWORD flags = SND_ASYNC | SND_MEMORY | SND_NODEFAULT;
89 static UChar_Binary *sound_data = 0; 89 static UChar_Binary *sound_data = 0;
90 if (sound_data) 90 if (sound_data)
91 { 91 {
92 qxePlaySound (NULL, NULL, flags); 92 qxePlaySound (NULL, NULL, flags);
93 xfree (sound_data); 93 xfree (sound_data, UChar_Binary *);
94 sound_data = 0; 94 sound_data = 0;
95 } 95 }
96 96
97 if (convert_to_malloc) 97 if (convert_to_malloc)
98 { 98 {