Fixed memory leak in isStreamable()