Fix warning from static analyzer
authorjake <jaehong2.lee@samsung.com>
Thu, 2 Mar 2017 05:11:49 +0000 (14:11 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 2 Mar 2017 10:37:57 +0000 (10:37 +0000)
commit91681b44e266ad9753e9dcd6508355f169f90904
tree3aae126215a60599cd547811bdd5d3cc34cda935
parent275a415296458768872f78cc56d44e5ad13712a7
Fix warning from static analyzer

 - Remove unnecessary function (isdigit)
   * it is valid function when the param is char but used int param
 - Add memory free when return error.

Change-Id: I1bbecc7e88f8973340299b8393736e6fd24f1587
Signed-off-by: jake <jaehong2.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17609
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/examples/linux/notificationprovider.c
service/notification/src/consumer/NSConsumerMemoryCache.c