Merge pull request #15223 from ibrahn/ogg-data-leak-fix
free associated audio data on AudioStreamOGGVorbis destruction
This commit is contained in:
@ -93,6 +93,7 @@ class AudioStreamOGGVorbis : public AudioStream {
|
||||
float length;
|
||||
bool loop;
|
||||
float loop_offset;
|
||||
void clear_data();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
@ -111,6 +112,7 @@ public:
|
||||
PoolVector<uint8_t> get_data() const;
|
||||
|
||||
AudioStreamOGGVorbis();
|
||||
virtual ~AudioStreamOGGVorbis();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user