From 0c15315d578087ed87fe4aff694928ba0ab27cef Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 5 Nov 2009 19:09:58 +0100 Subject: fixed crashbug caused by conf_remove_items --- conf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf.c') diff --git a/conf.c b/conf.c index d3702457..2a374193 100644 --- a/conf.c +++ b/conf.c @@ -235,4 +235,7 @@ conf_remove_items (const char *key) { if (prev) { prev->next = next; } + else { + conf_items = next; + } } -- cgit v1.2.3