diff options
author | Christian Holler <choller@mozilla.com> | 2019-12-06 15:53:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-06 15:53:50 +0100 |
commit | 9811aa2e155a4389898f3cf1a5ffb38e69497bdd (patch) | |
tree | a6865606c2e8011ef61127f6d2e6388e591c9110 /media/webrtc | |
parent | 836e72e96caf47add72a13a715722fad030f196c (diff) | |
download | UXP-9811aa2e155a4389898f3cf1a5ffb38e69497bdd.tar UXP-9811aa2e155a4389898f3cf1a5ffb38e69497bdd.tar.gz UXP-9811aa2e155a4389898f3cf1a5ffb38e69497bdd.tar.lz UXP-9811aa2e155a4389898f3cf1a5ffb38e69497bdd.tar.xz UXP-9811aa2e155a4389898f3cf1a5ffb38e69497bdd.zip |
Check return value of PeerConnectionImpl::GetFingerprint.
Diffstat (limited to 'media/webrtc')
-rw-r--r-- | media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h index 1dcc70519..6229e1c95 100644 --- a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h +++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h @@ -530,7 +530,8 @@ public: void GetFingerprint(nsAString& fingerprint) { char *tmp; - GetFingerprint(&tmp); + nsresult rv = GetFingerprint(&tmp); + NS_ENSURE_SUCCESS_VOID(rv); fingerprint.AssignASCII(tmp); delete[] tmp; } |