Changeset 891122 in git for libpolys/misc/intvec.cc


Ignore:
Timestamp:
Jul 16, 2013, 4:56:07 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
22c7f081eb5086ea769d4b1bf61d4ca3f4a88b04
Parents:
d220af17ce2ecb53dc744ab69471b35e99971cc5
Message:
fix: more memory leaks (analogue intvec::String)

from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/misc/intvec.cc

    rd220af1 r891122  
    154154void intvec::show(int notmat,int spaces) const
    155155{
     156  char *s=ivString(notmat,spaces);
    156157  if (spaces>0)
    157158  {
    158159    PrintNSpaces(spaces);
    159     PrintS(ivString(notmat,spaces));
     160    PrintS(s);
    160161  }
    161162  else
    162     PrintS(ivString(notmat,0));
     163  {
     164    PrintS(s);
     165  }
     166  omFree(s);
    163167}
    164168
Note: See TracChangeset for help on using the changeset viewer.