EGL: Aligned memory allocation

Free memory allocated with 'align_malloc' using 'align_free'.

Fixes issue #391
This commit is contained in:
Sebastian Sumpf 2012-10-09 15:55:20 +02:00 committed by Norman Feske
parent be171d86bb
commit 97dd1d57cf
1 changed files with 1 additions and 1 deletions

View File

@ -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; }
};