commit | ae94d494a63f834a3937d94b7be6a16be296e47c | [log] [tgz] |
---|---|---|
author | Martin Mares <mj@ucw.cz> | Wed Feb 13 10:01:30 2019 +0100 |
committer | Martin Mares <mj@ucw.cz> | Wed Feb 13 10:01:30 2019 +0100 |
tree | 1d75b376eb481e5bfbdcf9ad545ff8b901c4c350 | |
parent | 9c48ed23cd16066e662b45f5ff1776b0b8a1bd4c [diff] |
Fixed memory initialization bug in previous commit
diff --git a/lib/caps.c b/lib/caps.c index 6574a10..1fca141 100644 --- a/lib/caps.c +++ b/lib/caps.c
@@ -20,6 +20,7 @@ else d->first_cap = cap; d->last_cap = cap; + cap->next = NULL; cap->addr = addr; cap->id = id; cap->type = type;