Fix memory leak.
Change-Id: I7d308a869fdc729bd46ace336b71c7e30556d65d Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
parent
67bd27fee2
commit
cbde509965
@ -316,6 +316,8 @@ void QOpenGLBuffer::destroy()
|
||||
d->guard->free();
|
||||
d->guard = 0;
|
||||
}
|
||||
delete d->funcs;
|
||||
d->funcs = 0;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user