Fix for the prevent issues for notification manager.
[platform/upstream/iotivity.git] / service / notification-manager / SampleApp / linux / sampleProvider / SampleProvider.cpp
index 8d924ae..abb40db 100644 (file)
@@ -56,7 +56,7 @@ class TempHumidResource
 
     public:
         TempHumidResource() :
-            m_temp(0), m_humid(0), m_uri("/a/TempHumSensor")
+            m_temp(0), m_humid(0), m_uri("/a/TempHumSensor"), m_resourceHandle(NULL)
         {
         }