Bug 1055060 - Non-array delete for scalars - CID 1122166 & 1122167 r=jesup

This commit is contained in:
Sylvestre Ledru 2014-08-19 08:19:28 +02:00
parent 0ad13193ff
commit 9396350e79

View File

@ -432,7 +432,7 @@ public:
char *tmp;
GetLocalDescription(&tmp);
aSDP.AssignASCII(tmp);
delete tmp;
delete[] tmp;
}
NS_IMETHODIMP GetRemoteDescription(char** aSDP);
@ -442,7 +442,7 @@ public:
char *tmp;
GetRemoteDescription(&tmp);
aSDP.AssignASCII(tmp);
delete tmp;
delete[] tmp;
}
NS_IMETHODIMP SignalingState(mozilla::dom::PCImplSignalingState* aState);