Fix a leak in match_dyn, spotted by Greg Bock.

Closes #2
.gitlab-ci.yml not found in this commit