Removed memory lead in Ctypes::_call
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 4 Jul 2010 12:04:32 +0000 (13:04 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 4 Jul 2010 12:04:32 +0000 (13:04 +0100)
commitbb59ca84b110a162f90c4853139ed5719a4de7ce
tree5fb0b2f29f14a6dedfbb338e663fe389a74e02bc
parenta45990b6228475e068abc8dc9d7f1a10548953a7
Removed memory lead in Ctypes::_call

Before memory was not allocated for 'p' argtypes so free'ing was
only done for non 'p' types. Pointer argtypes have been allocated
for a few revisions though; just brought free'ing up to date.

modified:   Ctypes.xs
modified:   t/callbacks.t
Ctypes.xs
t/callbacks.t