Skip to content
Snippets Groups Projects
Commit f8c9b85f authored by Nicolas Jager's avatar Nicolas Jager Committed by Guillaume Roguez
Browse files

RecentModel: prevent nullptr access


Fix a regression introduced by:
[59f41f8d44: avoid adding entry in RecentModel after an incoming ContactRequest]

This patch check if the pointer is not null before using it.

Change-Id: I49b63f4044bbacc06b36e2c10a3fe7af29100477
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent f418a3a0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment