Bug 1074377 - Should hold the already_AddRefed return value. r=khuey

This commit is contained in:
Szu-Yu Chen [:aknow] 2014-10-02 23:39:00 -04:00
parent eaa8395a0a
commit e4e7244f5f

View File

@ -600,8 +600,8 @@ Telephony::EnumerateCallState(uint32_t aServiceId, uint32_t aCallIndex,
// Didn't know anything about this call before now.
nsRefPtr<TelephonyCallId> id = CreateCallId(aNumber, aNumberPresentation,
aName, aNamePresentation);
CreateCall(id, aServiceId, aCallIndex, aCallState,
aIsEmergency, aIsConference, aIsSwitchable, aIsMergeable);
call = CreateCall(id, aServiceId, aCallIndex, aCallState,
aIsEmergency, aIsConference, aIsSwitchable, aIsMergeable);
return NS_OK;
}