aboutsummaryrefslogtreecommitdiff
path: root/src/exhaustive/arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exhaustive/arg.c')
-rw-r--r--src/exhaustive/arg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exhaustive/arg.c b/src/exhaustive/arg.c
index 6b11777..ba96357 100644
--- a/src/exhaustive/arg.c
+++ b/src/exhaustive/arg.c
@@ -10,10 +10,10 @@ arg_t *arg_new(void) { return try_calloc(sizeof(arg_t)); }
void arg_free(arg_t **arg) {
if (*arg) {
if ((*arg)->allocd) {
- pari_free((*arg)->allocd);
+ try_free((*arg)->allocd);
(*arg)->allocd = NULL;
}
- pari_free(*arg);
+ try_free(*arg);
*arg = NULL;
}
}