chiark
/
gitweb
/
~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fwd: Improve `source' and `target' lifecycle management.
[fwd]
/
fwd.c
diff --git
a/fwd.c
b/fwd.c
index 0455bc4db015c06f7c428d27a1b01b232c15eb74..9d170e1bd2a988c65de16bed447988be6a5c1f4c 100644
(file)
--- a/
fwd.c
+++ b/
fwd.c
@@
-152,6
+152,7
@@
void parse(scanner *sc)
s->ops->attach(s, sc, t);
if (t->ops->confirm)
t->ops->confirm(t);
+ source_dec(s); target_dec(t);
}
/* --- Include configuration from a file --- *