[IOT-2086]Fix FTBFS when WITH_MQ,
authorabitha.s <abitha.s@samsung.com>
Wed, 14 Jun 2017 12:25:24 +0000 (17:55 +0530)
committerUze Choi <uzchoi@samsung.com>
Tue, 4 Jul 2017 12:28:26 +0000 (12:28 +0000)
the incorrect use of OICFree macro is removed

Change-Id: Ib9fdb7e994850475b233c914a71d4b94346e0c01
Signed-off-by: abitha.s <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20801
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Signed-off-by: abitha.s <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20929
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
service/notification/src/provider/NSProviderSubscription.c

index 40df586..87d6e14 100644 (file)
@@ -332,7 +332,6 @@ void NSProviderMQSubscription(NSMQTopicAddress * topicAddr)
     OCCallbackData cbdata = { NULL, NULL, NULL };\r
     cbdata.cb = NSProviderGetMQResponseCB;\r
     cbdata.context = OICStrdup(topicName);\r
-    cbdata.cd = OICFree;\r
 \r
     char requestUri[100] = "coap+tcp://";\r
 \r