#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:             |  
-----------------------+----------------------------------------------------
Description changed by plobsing:

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.

--

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/16#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to