Skip to content

memory leak TODO list #165

@mjv500

Description

@mjv500

the lo_crystalstructure and lo_symset types are missing a destructor to deallocate stuff. This should be written and called for each instance which is generated.

List of calls from valgrind, for future reference:

__type_crystalstructure_MOD_classify (type_crystalstructure_symmetry.f90:58)
__type_crystalstructure_MOD_classify (type_crystalstructure_symmetry.f90:60)
__type_crystalstructure_MOD_classify (type_crystalstructure_symmetry.f90:65)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:473)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:474)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:475)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:476)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:477)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:628)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:629)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:630)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:631)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:632)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:633)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:634)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:635)
__type_crystalstructure_MOD_generate (type_crystalstructure.f90:652)
__type_crystalstructure_MOD_naturaldistribution (type_crystalstructure.f90:1549)
__type_crystalstructure_MOD_naturaldistribution (type_crystalstructure.f90:1591)
__type_crystalstructure_MOD_readfromfile (type_crystalstructure_io.f90:341)
__type_crystalstructure_MOD_write_bz_to_hdf5 (type_crystalstructure_io.f90:981)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:343)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:344)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:345)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:346)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:353)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:354)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:360)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_brillouin_zone (type_crystalstructure_symmetry.f90:365)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_irreducible_wedge (type_crystalstructure_symmetry.f90:760)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_irreducible_wedge (type_crystalstructure_symmetry.f90:805)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_get_irreducible_wedge (type_crystalstructure_symmetry.f90:848)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_label_highsymmetry_points (type_crystalstructure_symmetry.f90:2435)
__type_crystalstructure.type_crystalstructure_symmetry_MOD_label_highsymmetry_points (type_crystalstructure_symmetry.f90:2533)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:609)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:644)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:652)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:667)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:712)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:713)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:714)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:745)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:753)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:754)
__type_symmetryoperation_MOD_generate (type_symmetryoperation.f90:768)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions