diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-12-26 23:15:27 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-12-28 21:05:49 +0100 |
commit | bb5e31470da4e74695b18060c7c9947432cc4813 (patch) | |
tree | 3c28ca36adc1e7fcf5e9aefbe76fce6f2bead5ca /src/audio | |
parent | Merge pull request #282 from erorcun/erorcun (diff) | |
download | re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.gz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.bz2 re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.lz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.xz re3-bb5e31470da4e74695b18060c7c9947432cc4813.tar.zst re3-bb5e31470da4e74695b18060c7c9947432cc4813.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/sampman.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/sampman.cpp b/src/audio/sampman.cpp index 9c79e1b1..6edb6028 100644 --- a/src/audio/sampman.cpp +++ b/src/audio/sampman.cpp @@ -352,7 +352,11 @@ _ResolveLink(char const *path, char *out) OutputDebugString(fd.cFileName); strcpy(out, filepath); - + // FIX: Release the objects. Taken from SA. +#ifdef FIX_BUGS + ppf->Release(); + psl->Release(); +#endif return true; } } |