Commit 78480892 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fixed test 1300 to pass the memory torture test

parent 17a2d70d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
}