projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filter/audiod: Be nice to filters without close method.
[paraslash.git]
/
filter.c
diff --git
a/filter.c
b/filter.c
index bf428b36dbc7668ccd2ac139117c7eb8d7d73ec0..08398d591250013054efdc1cf0d192cb88a981e3 100644
(file)
--- a/
filter.c
+++ b/
filter.c
@@
-155,7
+155,8
@@
out_cleanup:
struct filter_node *fn = fns[i];
f = filters + fn->filter_num;
- f->close(fn);
+ if (f->close)
+ f->close(fn);
btr_free_node(fn->btrn);
free(fn->conf);
free(fn);