search for: croak_xs_usage

Displaying 1 result from an estimated 1 matches for "croak_xs_usage".

2011 Jun 28
2
minor Hivex.xs leaks
...URN_UNDEF without freeing the "values" or "val" data they have just allocated: XS(XS_Win__Hivex_node_set_values); /* prototype to pass -Wmissing-prototypes */ XS(XS_Win__Hivex_node_set_values) { #ifdef dVAR dVAR; dXSARGS; #else dXSARGS; #endif if (items != 3) croak_xs_usage(cv, "h, node, values"); PERL_UNUSED_VAR(ax); /* -Wall */ SP -= items; { hive_h * h; int node = (int)SvIV(ST(1)); pl_set_values values = unpack_pl_set_values (ST(2)); #line 477 "Hivex.xs" int r; #line 993 "Hivex.c" if (sv_isobject (ST(0)) &amp...