- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for leaks (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem); char* temp_file_name_c_str = TF_GetTempFileName(""); std::string temp_file_name(temp_file_name_c_str); // To prevent memory-leak free(temp_file_name_c_str); if (!gcs_file->compose) { auto gcs_status = gcs_file->gcs_client.DownloadToFile(bucket, object, temp_file_name); TF_SetStatusFromGCSStatus(gcs_status, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)