[Spice-devel] [Win vdagent V2] vdagent: protect against NULL entry in _displays
Uri Lublin
uril at redhat.com
Thu May 9 09:10:58 PDT 2013
On 05/09/2013 05:26 PM, Marc-André Lureau wrote:
> Looking at remaining usage, shouldn't it protect against delete mode in DesktopLayout::clean_displays() too?
Thanks for reviewing again.
Calling delete NULL is safe.
Some think that it's better not to test for NULL when calling delete.
Others consider it a good practice.
Uri.
More information about the Spice-devel
mailing list