Fix memory leak when creating a sprinkler.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -61,6 +61,9 @@ TEST("sprinkler - create set_state remove.")
|
||||
ret = devices_manager_create(dm, kSprinklerEntry, root_node);
|
||||
ASSERT_EQUAL_INT(ret, 0);
|
||||
|
||||
// ret = set_sprinkler_state(dm, 1, true);
|
||||
// ASSERT_EQUAL_INT(ret, 0);
|
||||
|
||||
/* Clean the json object. */
|
||||
json_object_put(root_node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user