mirror of
https://github.com/systemd/systemd.git
synced 2025-02-14 05:57:40 +03:00
sd-netlink: fix segfault
This commit is contained in:
parent
bc1a8e2b6e
commit
766417bd76
@ -593,7 +593,8 @@ int sd_netlink_read(
|
||||
return r;
|
||||
|
||||
if (type == NLMSG_DONE) {
|
||||
*ret = NULL;
|
||||
if (ret)
|
||||
*ret = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user