Fix for the prevent issue with CID 65911 for Things manager
authorJihun Ha <jihun.ha@samsung.com>
Thu, 21 May 2015 10:33:22 +0000 (19:33 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 21 May 2015 10:53:57 +0000 (10:53 +0000)
Change-Id: I3f85d6b0267190ab56d4c0d6ebf91e2456f5d9d6
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1065
Reviewed-by: Harish Marappa <h.marappa@samsung.com>
Reviewed-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/things-manager/sdk/src/GroupManager.cpp

index 5594a7f..cbcc4d0 100755 (executable)
@@ -595,7 +595,7 @@ ActionSet* GroupManager::getActionSetfromString(std::string description)
                 token = strtok_r(NULL, DESC_DELIMITER, &descPtr);
             }
 
-            if( actionset != NULL )
+            if( action != NULL )
                 actionset->listOfAction.push_back(action);
             else
                 goto exit;