Merge pull request #44 from lembacon/develop

Squash some memory leaks in `input_source.m`.