Sat Nov 13 18:55:19 2010user42 [...] zip.com.au - Ticket created
Subject:
xc malloc
Date:
Sun, 14 Nov 2010 10:54:39 +1100
To:
bug-Term-Caca [...] rt.cpan.org
From:
Kevin Ryde <user42 [...] zip.com.au>
Nosing around Caca.xs of Term::Caca 0.95, in _draw_polyline() and
_draw_thin_polyline() I suppose if the malloc of yc fails then the xc
block is leaked. As a suggestion the perl Newx() might be easier. I'd
be inclined to prefer a croak or abort for an out-of-memory instead of
an undef return which in theory would have to be checked each time.
Sat Dec 03 16:50:24 2011yanick+cpan [...] babyl.dyndns.org - Status changed from 'new' to 'resolved'