Ticket #8016: mixer.diff

File mixer.diff, 481 bytes (added by SF/xtrochu, 22 years ago)

the patch

  • sound/mixer.cpp

    RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
    retrieving revision 1.50
    diff -u -r1.50 mixer.cpp
     
    6060                chan = _channels[index];
    6161        } else {
    6262                chan->append(sound, size);
     63                if (_flags & FLAG_AUTOFREE)
     64                        free(sound);
    6365        }
    6466
    6567        _syst->unlock_mutex(_mutex);