Fix a couple of memory leaks where data providers weren’t released.
Merge pull request #17 from Fingertips/data-provider-memory-leaks

Fix a couple of memory leaks where data providers weren’t released.