Check IEventWatcher ptr before calling the method
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 9 Jul 2019 22:58:28 +0000 (07:58 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 9 Jul 2019 23:18:36 +0000 (08:18 +0900)
commit6d570c9921fb2363ca24d4c8eb254ef248e800b6
treeefe9f25c651724d3d4c2f099c809f7735ee1384c
parent4623ee285bcca1ad5668b90f2667a27fbd215d52
Check IEventWatcher ptr before calling the method

This patch add exceptions to check whether the watcher variable is
nullptr or not.

Change-Id: I846cc3181be4907fc4b6a8178625fe4da34ea45c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/fdbroker-internal.cc