#16: fix memory leaks in pirc
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: kjs
Type: todo | Status: new
Priority: normal | Milestone:
Component: pirc | Version:
Severity: none | Keywords: pirc
Lang: | Patch:
Platform: |
-----------------------+----------------------------------------------------
Old description:
> Some places in PIRC use parrot's mem_sys_allocate(); they should be
> either converted to pir_mem_allocate, for automatic free()ing, or they
> should be explicitly free()d somewhere using mem_sys_free(). This depends
> on how easy it is to track where the memory is used, and when it can be
> free()d. In general, PIRC's pir_mem_allocate should be used.
>
> This needs to be fixed.
New description:
Some places in PIRC use parrot's mem_sys_allocate(); they should be either
converted to pir_mem_allocate, for automatic free()ing, or they should be
explicitly free()d somewhere using mem_sys_free(). This depends on how
easy it is to track where the memory is used, and when it can be free()d.
In general, PIRC's pir_mem_allocate should be used.
This needs to be fixed.
--
Comment(by plobsing):
This issue is now being tracked at as issue #3 for
https://github.com/parrot/pirc.
(https://github.com/parrot/pirc/issues/#issue/3)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/16#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets