Changeset 80d8d6 in git


Ignore:
Timestamp:
Sep 11, 2013, 11:27:24 AM (11 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8f64a0f3ad9365d434e4711de3c37e54e27f770e
Parents:
a7814c2a0fe2f2a1abe1643ed8afdd5b21ecef8b
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-09-11 11:27:24+02:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-09-11 11:47:21+02:00
Message:
chg: port commit e9da36a from master to spielwiese

commit hash in master: e9da36afd8cdf7d84cd5f977ba1d25e86584165b
was: 'chg: in slCleanUp(), kill the link before freeing the memory'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/silink.cc

    ra7814c2 r80d8d6  
    136136    if (SI_LINK_OPEN_P(l))
    137137    {
    138       if (l->m->Kill != NULL) l->m->Kill(l);
    139       else if (l->m->Close != NULL) l->m->Close(l);
    140     }
     138      if (l->m->Close != NULL) l->m->Close(l);
     139    }
     140    if ((l->data != NULL) && (l->m->Kill != NULL)) l->m->Kill(l);
    141141    omFree((ADDRESS)l->name);
    142142    omFree((ADDRESS)l->mode);
Note: See TracChangeset for help on using the changeset viewer.