Skip to content

Commit

Permalink
BF: CS-719 do full valgrind test on master branch (9.0.1) (#20)
Browse files Browse the repository at this point in the history
// additional cleanup in binding code
  • Loading branch information
jgabler-hpc committed Oct 26, 2024
1 parent 7899822 commit 0ef1705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/libs/sgeobj/sge_binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3083,7 +3083,7 @@ static bool create_topology_used_per_job(char** accounted_topology, int* account
(*accounted_topology_length) = logical_used_topology_length;

/* copy string of current topology in use */
*accounted_topology = strdup(logical_used_topology);
*accounted_topology = sge_strdup(nullptr, logical_used_topology);
if (*accounted_topology == nullptr) {
/* out of memory */
return false;
Expand Down

0 comments on commit 0ef1705

Please sign in to comment.