From 80487626ee44688f2a9cb25e1369623344c88df1 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Tue, 9 Apr 2024 15:22:15 -0500 Subject: [PATCH] Fix a FUNC_GOTO_ERROR used after 'done:' label --- src/rest_vol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest_vol.c b/src/rest_vol.c index a23c409a..dfd0a384 100644 --- a/src/rest_vol.c +++ b/src/rest_vol.c @@ -2402,7 +2402,7 @@ RV_find_object_by_path(RV_object_t *parent_obj, const char *obj_path, H5I_type_t /* Necessary to prevent curl from potentially accessing freed buffers in subsequent calls */ if (CURLE_OK != curl_easy_setopt(curl, CURLOPT_POST, 0)) - FUNC_GOTO_ERROR(H5E_LINK, H5E_CANTSET, FAIL, "can't unset cURL HTTP POST request: %s", curl_err_buf); + FUNC_DONE_ERROR(H5E_LINK, H5E_CANTSET, FAIL, "can't unset cURL HTTP POST request: %s", curl_err_buf); if (external_file) if (RV_file_close(external_file, H5P_DEFAULT, NULL) < 0)