Changeset d2cd2f7 in git


Ignore:
Timestamp:
Nov 10, 1998, 6:25:32 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
a81e10898128079af275a9e889234e2defd2677e
Parents:
0fe7d1263f3347f2c4baa17e0616195ba42d3be8
Message:
*hannes: fixed memory leak in pFetchCopy


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

Legend:

Unmodified
Added
Removed
  • Singular/polys-impl.cc

    r0fe7d1 rd2cd2f7  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys-impl.cc,v 1.19 1998-11-10 17:18:20 Singular Exp $ */
     4/* $Id: polys-impl.cc,v 1.20 1998-11-10 17:25:32 Singular Exp $ */
    55
    66/***************************************************************
     
    193193  poly a;
    194194  if (p==NULL) return NULL;
    195 #ifdef PDEBUG
    196   res = a = pDBNew(f,l);
    197 #else
    198   res = a = pNew();
    199 #endif
    200195  if (r->VarOffset == pVarOffset)
    201196  {
     197#ifdef PDEBUG
     198    res = a = pDBNew(f,l);
     199#else
     200    res = a = pNew();
     201#endif
    202202    pCopy2(a,p);
    203203    a->coef=nCopy(p->coef);
Note: See TracChangeset for help on using the changeset viewer.