Fix memory leak in simple_reponse

Free stream if and only if created by response.
1 file changed