Skip to content
Commit db602b81 authored by Martin Flöser's avatar Martin Flöser
Browse files

[server] Ensure that Resource::Private::get returns nullptr if passed a nullptr

Summary:
A Resource might be unbound, but not yet destroyed. In that case this
return a Resource instead of nullptr.

This change adds an explicit nullptr check.

Reviewers: #plasma_on_wayland

Subscribers: plasma-devel

Tags: #plasma_on_wayland

Differential Revision: https://phabricator.kde.org/D1938
parent b6122510
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment