Re: ? free()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bernie Ryan wrote:
> Tommy do you think that this should be OK ?
> }}}
<eucode>
> include machine.e
> 
> atom a
> 
>    a = allocate(10)
>    ? a
>    free(a)
>    ? a
> </eucode>
{{{

> 
> This should not happen it is just going
> to create error prone code.

How do you solve this situation:
atom a, b
a = allocate(10)
b = a
free(b)


Or this one:
constant a = allocate(10)
free(a)


--
The Internet combines the excitement of typing 
with the reliability of anonymous hearsay.

tommy online: http://users.telenet.be/tommycarlier
tommy.blog: http://tommycarlier.blogspot.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu