Skip to content

Commit

Permalink
comment all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
kain88-de committed Sep 3, 2016
1 parent 66ec493 commit 5328835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/MDAnalysis/lib/formats/libdcd.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ cdef class DCDFile:

def close(self):
if self.is_open:
# In case there are fixed atoms we should free the memory again.
# Both pointers are guaranted to be non NULL if either one is.
if self.freeind != NULL:
close_dcd_read(self.freeind, self.fixedcoords);

Expand Down

0 comments on commit 5328835

Please sign in to comment.