WINGs: fix possible null pointer dereference in W_RealizeView (Coverity #50060)
commitf60f14b7bdaeb9c2bc978d7e5207141245d3abd0
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 15 Nov 2014 18:40:34 +0000 (15 19:40 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Nov 2014 22:42:19 +0000 (23 22:42 +0000)
tree53f5773278830164daceac779d07b13933d40d85
parent0c659c161858cc9c6bd03c7b9b06e1dcf35075b5
WINGs: fix possible null pointer dereference in W_RealizeView (Coverity #50060)

As pointed by Coverity, the function makes use of a pointer which may be
null, so we have to properly check that to ensure application will not
crash.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
WINGs/wview.c