Skip to content

Commit

Permalink
Fix a FUNC_GOTO_ERROR used after 'done:' label
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Apr 9, 2024
1 parent 2d970a9 commit 8048762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8048762

Please sign in to comment.