diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-09-02 20:08:04 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-02 21:49:49 (GMT) |
commit | e9f94fef250d1aef20e6803d79c400ed1a618dcb (patch) | |
tree | 2fe0c5ccafda6d56454685d1fc019de6167bf026 /src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp | |
parent | ae3d8f63bbecd8b0f40770443b83c4d20ff6d1f3 (diff) | |
download | Qt-e9f94fef250d1aef20e6803d79c400ed1a618dcb.zip Qt-e9f94fef250d1aef20e6803d79c400ed1a618dcb.tar.gz Qt-e9f94fef250d1aef20e6803d79c400ed1a618dcb.tar.bz2 |
Make sure to set mem to 0 in unlockSurface
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp index 2e56b9a..e74bd89 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintdevice.cpp @@ -128,6 +128,7 @@ void QDirectFBPaintDevice::unlockSurface() if (surface) { surface->Unlock(surface); lockFlgs = static_cast<DFBSurfaceLockFlags>(0); + mem = 0; } } } |