summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorChristian Holler <choller@mozilla.com>2019-12-06 15:53:50 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-12-06 15:53:50 +0100
commitae04b5961ed6f3271e29b5b9b2912d0889283e68 (patch)
treea6865606c2e8011ef61127f6d2e6388e591c9110 /media
parent9f99d89d2a08a52bc9902027909c29abd0a260e0 (diff)
downloadaura-central-ae04b5961ed6f3271e29b5b9b2912d0889283e68.tar.gz
Check return value of PeerConnectionImpl::GetFingerprint.
Diffstat (limited to 'media')
-rw-r--r--media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h3
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;
}