search for: xs_win__hivex_node_set_values

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

2011 Jun 28
2
minor Hivex.xs leaks
...== -1) croak ("%s: %s", "node_set_value", strerror (errno)); -------------------------------------------- Here's the generated C. Note how each function uses XSRETURN_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...