projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a2d70
)
Fixed test 1300 to pass the memory torture test
author
Dan Fandrich
<dan@coneharvesters.com>
Fri, 24 Jun 2011 19:32:38 +0000
(12:32 -0700)
committer
Dan Fandrich
<dan@coneharvesters.com>
Fri, 24 Jun 2011 19:33:30 +0000
(12:33 -0700)
tests/unit/unit1300.c
patch
|
blob
|
history
diff --git
a/tests/unit/unit1300.c
b/tests/unit/unit1300.c
index 199cf2c9e932fde8a7ff9cf844a9b0d44bf32505..2b8341683c1476791fcb34ef3b84273cfc315fff 100644
(file)
--- a/
tests/unit/unit1300.c
+++ b/
tests/unit/unit1300.c
@@
-40,8
+40,10
@@
static CURLcode unit_setup(void)
if(!llist)
return CURLE_OUT_OF_MEMORY;
llist_destination = Curl_llist_alloc(test_curl_llist_dtor);
- if(!llist_destination)
+ if(!llist_destination) {
+ Curl_llist_destroy(llist, NULL);
return CURLE_OUT_OF_MEMORY;
+ }
return CURLE_OK;
}