From 0f4a91afdedc4b1f7b02f8b015fde1889d80c104 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 6 Feb 2010 13:21:45 +0000 Subject: OOM handling fix --- tests/libtest/lib570.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/libtest/lib570.c') diff --git a/tests/libtest/lib570.c b/tests/libtest/lib570.c index 4f40a0276..8cfc0b88b 100644 --- a/tests/libtest/lib570.c +++ b/tests/libtest/lib570.c @@ -95,6 +95,9 @@ int test(char *URL) test_cleanup: + if(stream_uri) + free(stream_uri); + curl_easy_cleanup(curl); curl_global_cleanup(); -- cgit v1.2.3