Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyslurm/core/job/stats.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ cdef load_single(JobStep step):
else:
verify_rpc(rc)

memset(&locks, 0, sizeof(assoc_mgr_lock_t))
memset(&db_step, 0, sizeof(slurmdb_step_rec_t))
memset(&db_step.stats, 0, sizeof(slurmdb_stats_t))

Expand Down
3 changes: 3 additions & 0 deletions pyslurm/core/job/step.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ cdef class JobStep:

def _dealloc_impl(self):
slurm_free_job_step_info_members(self.ptr)
# Bug in slurm_free_job_step_info_members - submit_line is not freed
# there.
xfree(self.ptr.submit_line)
xfree(self.ptr)
slurm_free_update_step_msg(self.umsg)
self.umsg = NULL
Expand Down
19 changes: 18 additions & 1 deletion valgrind-pyslurm.supp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
...
}

{
Slurm topology_g_init
Memcheck:Leak
match-leak-kinds: possible
...
fun:topology_g_init
...
}

{
Slurm slurm_auth_init
Memcheck:Leak
Expand All @@ -43,11 +52,19 @@
}

{
Slurm slurm_conf_init/slurm_init
Slurm slurm_conf_init
Memcheck:Leak
match-leak-kinds: possible
...
fun:slurm_conf_init
...
}

{
Slurm slurm_init
Memcheck:Leak
match-leak-kinds: possible
...
fun:slurm_init
...
}
Expand Down
Loading