Changeset 16c400 in git


Ignore:
Timestamp:
Mar 22, 2012, 6:30:15 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
faf3505e224504555fe6aa79ecfdd54ec0888beb
Parents:
7e9f1298826e9e80c154aaa465935c0ba2acad38
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-22 18:30:15+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:35+01:00
Message:
fix rDelete should delete qideal!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    r7e9f12 r16c400  
    459459    return; // NOTE: There may be memory leaks due to inconsisten use of r->ref!!! (e.g. due to ext_fields)
    460460
     461  if( r->qideal != NULL )
     462  {
     463    ideal q = r->qideal;
     464    r->qideal = NULL;
     465    id_Delete(&q, r);
     466  }
     467
    461468#ifdef HAVE_PLURAL
    462469  if (rIsPluralRing(r))
     
    498505  }
    499506
    500 //   // delete parameter
    501 //   if (rParameter(r)!=NULL)
    502 //   {
    503 //     char **s= rParameter(r);
    504 //     j = 0;
    505 //     while (j < rPar(r))
    506 //     {
    507 //       if (*s != NULL) omFree((ADDRESS)*s);
    508 //       s++;
    509 //       j++;
    510 //     }
    511 //     omFreeSize((ADDRESS)rParameter(r),rPar(r)*sizeof(char *));
    512 //   }
    513507  omFreeBin(r, sip_sring_bin);
    514508}
Note: See TracChangeset for help on using the changeset viewer.