Fix crash on switching sound in Vista
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 14 Jun 2011 10:40:11 +0000 (12:40 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 14 Jun 2011 11:11:42 +0000 (13:11 +0200)
commit9e82e6c5e9f309f3ca1c3b0f38cdce2cfdcfa31d
tree0210ffbce8ffb55970251103b2b243d8489331de
parent2491194721f75d14985ebb2d8b5f6b90cb1e945d
Fix crash on switching sound in Vista

When choosing a new sound the wave form of the old one was free'ed, but
because built-in sounds are not really malloc'ed, this led to a crash.
winboard/winboard.c
winboard/winboard.h