Changeset d7bdb0 in git


Ignore:
Timestamp:
Oct 17, 2013, 3:53:08 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
15bd1fc788319818790de07717872300c9c006f17345547252dc2de74d754b8323ebad2ca69c4712
Parents:
2f82f7d576d5c4d9e9081fd2b40a5a23aaebbfce
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-10-17 15:53:08+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-10-17 15:54:38+02:00
Message:
fix: memory leak while calling (external) C routines
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    r2f82f7 rd7bdb0  
    541541                 leftv res = (leftv)omAlloc0Bin(sleftv_bin);
    542542                 err = (pi->data.o.function)(res, sl);
    543                  iiRETURNEXPR.Copy(res);
     543                 memcpy(&iiRETURNEXPR,res,sizeof(iiRETURNEXPR));
    544544                 omFreeBin((ADDRESS)res,  sleftv_bin);
    545545                 break;
Note: See TracChangeset for help on using the changeset viewer.