Merge pull request #56 from rhencke/fix-test

Fix double-free in unit test on Windows.