EGL: Aligned memory allocation
Free memory allocated with 'align_malloc' using 'align_free'. Fixes issue #391
This commit is contained in:
parent
be171d86bb
commit
97dd1d57cf
|
@ -128,7 +128,7 @@ class Pipe_buffer : public pipe_buffer
|
|||
/**
|
||||
* Destructor
|
||||
*/
|
||||
~Pipe_buffer() { free(_data); }
|
||||
~Pipe_buffer() { align_free(_data); }
|
||||
|
||||
void *data() const { return _data; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue