Fix trivial memory leak (Issue #1)