diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2016-08-16 11:42:42 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2016-08-23 14:46:06 +0000 |
commit | 3fa18bf8816ccbbdf43eed2759c9a223cec039e8 (patch) | |
tree | c391e24bfffa4e44a7dc25d84f8f020c55a4d894 /src/opengl/qglpixelbuffer_p.h | |
parent | 881bda9e6ecdd8729edf7df68f94f72f5d7c9042 (diff) |
Make sure connection is not null before using it
connectionFromId can return null if the id isn't found.
This causes crashes like http://paste.ubuntu.com/23061009/
Change-Id: Ib72412f61dc7661455394679b3e90662de505920
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
Diffstat (limited to 'src/opengl/qglpixelbuffer_p.h')
0 files changed, 0 insertions, 0 deletions