Skip to content

Commit 9b3a64f

Browse files
Merge pull request #166 from TakayukiHoshi1984/bugfix_alljoyn_brightness_color
Alljoynでライトを操作するとmalloc_errorが発生する
2 parents 763ae7e + 51b96ca commit 9b3a64f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dConnectDevicePlugin/dConnectDeviceAllJoyn/dConnectDeviceAllJoyn/Sources/Profiles/DPAllJoynLightProfile.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ - (void) didReceivePostLightRequestForLampControllerWithResponse:(DConnectRespon
765765

766766
// MsgArg lacks copy operator, so std::vector can not be used for
767767
// storing new states...
768-
MsgArg newStates[3];
768+
MsgArg newStates[4];
769769
size_t count = 0;
770770
MsgArg tmp1;
771771
MsgArg tmp2 = MsgArg("b", YES);

0 commit comments

Comments
 (0)