/*
- * Copyright (C) 2005-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2013 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
if (f->close)
f->close(fn);
btr_remove_node(&fn->btrn);
- free(fn->conf);
+ if (f->free_config)
+ f->free_config(fn->conf);
free(fn);
}
free(fns);