mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-21 15:40:32 +01:00
shared: fix non-serious bug with bogus condition in assertion in nm_key_file_db_ref()
(cherry picked from commit 9a229241f9)
This commit is contained in:
parent
d84d1db39e
commit
f804bc7007
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ nm_key_file_db_ref (NMKeyFileDB *self)
|
|||
|
||||
g_return_val_if_fail (_IS_KEY_FILE_DB (self, FALSE, TRUE), NULL);
|
||||
|
||||
nm_assert (self->ref_count <= G_MAXUINT);
|
||||
nm_assert (self->ref_count < G_MAXUINT);
|
||||
self->ref_count++;
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue