Skip to content

Commit 0ef1705

Browse files
committed
BF: CS-719 do full valgrind test on master branch (9.0.1) (#20)
// additional cleanup in binding code
1 parent 7899822 commit 0ef1705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/libs/sgeobj/sge_binding.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3083,7 +3083,7 @@ static bool create_topology_used_per_job(char** accounted_topology, int* account
30833083
(*accounted_topology_length) = logical_used_topology_length;
30843084

30853085
/* copy string of current topology in use */
3086-
*accounted_topology = strdup(logical_used_topology);
3086+
*accounted_topology = sge_strdup(nullptr, logical_used_topology);
30873087
if (*accounted_topology == nullptr) {
30883088
/* out of memory */
30893089
return false;

0 commit comments

Comments
 (0)