Changeset aa85a9 in git


Ignore:
Timestamp:
Nov 10, 2009, 7:45:43 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
590f9892b373e02f15eb1e8ab30127dac15b384e
Parents:
12e5d14f674ea1fe23c399cbcd4c77be738ab4f8
Message:
*hannes: next memeory leak fixed in fast_map (tr 183)

git-svn-id: file:///usr/local/Singular/svn/trunk@12265 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/fast_maps.cc

    r12e5d1 raa85a9  
    171171      }
    172172    }
    173     //if (mp->next!=NULL) maMonomial_Destroy(mp->next,dest_r);
    174173  }
    175174  omFreeBin(mp, mapolyBin);
     
    364363  // construct dest_id
    365364  if (dest_r != image_r)
     365  {
    366366    dest_id = idrShallowCopyR(image_id, image_r, dest_r);
     367  }
    367368  else
    368369    dest_id = image_id;
     
    406407      res_image_id = idrShallowCopyR(res_dest_id, dest_r, image_r);
    407408    id_ShallowDelete(&res_dest_id, dest_r);
     409    id_ShallowDelete(&dest_id,dest_r);
    408410  }
    409411  else
     
    588590  ggt=p_Init(r);
    589591
    590   for (i=1;i<=r->N;i++) {
     592  for (i=1;i<=r->N;i++)
     593  {
    591594    unsigned long e1 = p_GetExp(m1, i, r);
    592595    unsigned long e2 = p_GetExp(m2, i, r);
     
    655658          p_LmFree(fp_p, r);
    656659          p_LmFree(fq_p, r);
    657 
    658660        }
    659661        ggt_deg = pDeg(q, r);
Note: See TracChangeset for help on using the changeset viewer.