[Differential] [Request, 10 lines] D1938: [server] Ensure that Resource::Private::get returns nullptr if passed a nullptr

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Jun 17 13:55:33 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Plasma on Wayland.

REVISION 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.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  resource-get-nullptr

REVISION DETAIL
  https://phabricator.kde.org/D1938

AFFECTED FILES
  autotests/client/test_wayland_surface.cpp
  src/server/resource_p.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland
Cc: plasma-devel, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160617/c8aa1c14/attachment.html>


More information about the Plasma-devel mailing list