Skip Menu |

This queue is for tickets about the Pg-hstore CPAN distribution.

Report information
The Basics
Id: 103539
Status: resolved
Priority: 0/
Queue: Pg-hstore

People
Owner: Nobody in particular
Requestors: tore [...] aursand.no
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: (no value)



Subject: Memory leak in Pg-hstore 1.04
There's a memory leak in hstore.xs, on line #215. You should replace this: hv_store_ent(hash, svkey, svval, 0); ...with this: hv_store_ent(hash, sv_2mortal(svkey), svval, 0); ...because hv_store_ent doesn't count references correctly.
fixed in 1.05