Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / service / things-manager / sdk / src / ThingsDiagnostics.cpp
index 03ca932..5c65f21 100644 (file)
@@ -257,7 +257,7 @@ namespace OIC
                                     std::placeholders::_1, std::placeholders::_2,
                                     std::placeholders::_3, diag)));
 
-            free(newActionSet);
+            delete(newActionSet);
 
         }
     }