Changeset c89df6 in git


Ignore:
Timestamp:
Mar 8, 2000, 10:03:40 AM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
42bf8e9deab7120b764e01b8898f244b5fdc99c1
Parents:
250c24a1d204e90387e32cb07e8f7a0e1f06fc98
Message:
* hannes: fixed memory leak: conversion res -> list


git-svn-id: file:///usr/local/Singular/svn/trunk@4180 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipassign.cc

    r250c24a rc89df6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipassign.cc,v 1.52 1999-11-15 17:20:09 obachman Exp $ */
     4/* $Id: ipassign.cc,v 1.53 2000-03-08 09:03:39 Singular Exp $ */
    55
    66/*
     
    239239  syStrategy r=(syStrategy)a->CopyD(RESOLUTION_CMD);
    240240  if (res->data!=NULL) ((lists)res->data)->Clean();
    241   res->data=(void *)syConvRes(r);
     241  res->data=(void *)syConvRes(r,TRUE);
    242242  //jiAssignAttr(res,a);
    243243  return FALSE;
  • Singular/ipconv.cc

    r250c24a rc89df6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipconv.cc,v 1.21 1999-11-15 17:20:09 obachman Exp $ */
     4/* $Id: ipconv.cc,v 1.22 2000-03-08 09:03:40 Singular Exp $ */
    55/*
    66* ABSTRACT: automatic type conversions
     
    181181static void * iiR2L(void * data)
    182182{
    183   //syStrategy tmp=syMinimize((syStrategy)data);
    184   //(tmp->references)--;
    185   //return (void *)syConvRes(tmp,TRUE);
    186183  syStrategy tmp=(syStrategy)data;
    187   return (void *)syConvRes(tmp);
    188 }
    189 
    190 #if defined(INIT_BUG) || defined(PROC_BUG)
     184  return  (void *)syConvRes(tmp,TRUE);
     185}
     186
    191187static void * iiL2R(void * data)
    192188{
    193189  return (void *)syConvList((lists)data,TRUE);
    194190}
    195 #else
    196 #define iiL2R (iiConvertProc)syConvList
    197 #endif
    198191
    199192//
Note: See TracChangeset for help on using the changeset viewer.