diff options
Diffstat (limited to 'lib/slists.c')
-rw-r--r-- | lib/slists.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/slists.c b/lib/slists.c index 35774301..6e0df39e 100644 --- a/lib/slists.c +++ b/lib/slists.c @@ -61,6 +61,9 @@ s_get(siterator *i) f->next = g; if (g) g->prev = f; + + i->prev = NULL; + i->next = NULL; return n; } |