Fix for bug IOT-759
Fixed the seg fault when no recurrence rule corresponding to period
rule was present.
Change-Id: I69989819d17ef7edf644a0efa512b051b18b7307
Signed-off-by: Shilpa Sodani <shilpa.a.sodani@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3147
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
(cherry picked from commit
3382a044ea795e2335b96fb36139c6f217616c27)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3167