mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1055060 - Non-array delete for scalars - CID 1122166 & 1122167 r=jesup
This commit is contained in:
parent
0ad13193ff
commit
9396350e79
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user