mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 08:10:17 +01:00
Ref the route, not unref it
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4157 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b339761a91
commit
5a5d032901
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ find_route (struct nl_object *object, gpointer user_data)
|
|||
(addr->address & nm_utils_ip4_prefix_to_netmask (addr->prefix)) == dst_addr->s_addr) {
|
||||
|
||||
/* Ref the route so it sticks around after the cache is cleared */
|
||||
rtnl_route_put (route);
|
||||
rtnl_route_get (route);
|
||||
info->route = route;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue