//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+#include "iotivity_config.h"
#include <stdio.h>
#include <string.h>
#include <string>
#include <getopt.h>
#include "ocpayload.h"
#include "common.h"
-#include "platform_features.h"
#define TAG PCF("ocservercontainer")
{
OIC_LOG_V (INFO, TAG, "Received unsupported method %d from client",
ehRequest->method);
- OCRepPayloadDestroy(payload);
ret = OC_EH_ERROR;
}
+ OCRepPayloadDestroy(payload);
}
else if (ehRequest && flag == OC_OBSERVE_FLAG)
{
ret = OC_EH_ERROR;
}
}
- else
- {
- OCRepPayloadDestroy(payload);
- }
+ OCRepPayloadDestroy(payload);
}
else if (ehRequest && flag == OC_OBSERVE_FLAG)
{