mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix memory leak when building without audaspace
This commit is contained in:
parent
351c409317
commit
223aff987a
1 changed files with 2 additions and 2 deletions
|
|
@ -147,12 +147,12 @@ void BKE_sound_free(bSound *sound)
|
|||
|
||||
BKE_sound_free_waveform(sound);
|
||||
|
||||
#endif /* WITH_AUDASPACE */
|
||||
if (sound->spinlock) {
|
||||
BLI_spin_end(sound->spinlock);
|
||||
MEM_freeN(sound->spinlock);
|
||||
sound->spinlock = NULL;
|
||||
}
|
||||
#endif /* WITH_AUDASPACE */
|
||||
}
|
||||
}
|
||||
|
||||
void BKE_sound_make_local(Main *bmain, bSound *sound, const bool lib_local)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue