[wfd-plugin]: Add NULL check to avoid potential crash. 00/59000/4
authorManeesh Jain <maneesh.jain@samsung.com>
Sun, 7 Feb 2016 18:17:38 +0000 (13:17 -0500)
committermaneesh jain <maneesh.jain@samsung.com>
Tue, 9 Feb 2016 04:15:24 +0000 (20:15 -0800)
commita3554fcd2f780270b2636032c5f7d4b1553561c6
tree52f0024221231ac73e86b26b1dab6cd7c49f5986
parent6e51b9c4fbc14038218678a041962568a3a217a8
[wfd-plugin]: Add NULL check to avoid potential crash.

Description: This patch adds validation check for following
functions.
1. ws_start_service_discovery()
2. ws_cancel_service_discovery()

Change-Id: I4b4b23cfa89647ee6eebe414876145a3e14f2140
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c