tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] tcc_relocate() and tcc_relocate_ex()


From: Sean Conner
Subject: Re: [Tinycc-devel] tcc_relocate() and tcc_relocate_ex()
Date: Thu, 23 Aug 2012 19:23:11 -0400
User-agent: Mutt/1.4.1i

It was thus said that the Great grischka once stated:
> Sean Conner wrote:
> >  But again, how is what I did a memory leak?
> 
> The statement
> 
>     s1->runtime_mem = NULL;
> 
> in tcc_relocate_ex would discard the previous value.

  Hmmm ... I can see where that appears to be the case, but I did run
valgrind and it reported no memory leaks.  

  Anyway, at the very least, I would still like the promotion of
tcc_relocate_ex() to public.  I can live without the NULL assignment.

  -spc






reply via email to

[Prev in Thread] Current Thread [Next in Thread]