projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding support for different windows compiler
[xboard.git]
/
winboard
/
woptions.c
diff --git
a/winboard/woptions.c
b/winboard/woptions.c
index
003878a
..
d685200
100644
(file)
--- a/
winboard/woptions.c
+++ b/
winboard/woptions.c
@@
-2000,7
+2000,7
@@
SoundOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
tmp.data = NULL;
MyLoadSound(&tmp);
MyPlaySound(&tmp);
tmp.data = NULL;
MyLoadSound(&tmp);
MyPlaySound(&tmp);
- if (tmp.data != NULL)
free(tmp.data);
+ if (tmp.data != NULL)
FreeResource(tmp.data); // technically obsolete fn, but tmp.data is NOT malloc'd mem
if (tmp.name != NULL) free(tmp.name);
return TRUE;
if (tmp.name != NULL) free(tmp.name);
return TRUE;