Re: [Win vdagent V2] vdagent: protect against NULL entry in _displays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]