Debian Codegraph @

src/xh_stash.c

raw
1 #include "xh_config.h"
2 #include "xh_core.h"
3
4 void
5 xh_stash_clean(xh_stack_t *stash)
6 {
7 SV **value;
8 while ((value = xh_stack_pop(stash)) != NULL) {
9 SvREFCNT_dec(*value);
10 }
11
12 xh_stack_destroy(stash);
13 }