aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wrapfuncs.c')
-rw-r--r--templates/wrapfuncs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/wrapfuncs.c b/templates/wrapfuncs.c
index 5a436e9..2d13031 100644
--- a/templates/wrapfuncs.c
+++ b/templates/wrapfuncs.c
@@ -59,11 +59,10 @@ ${maybe_async_skip}
pseudo_debug(PDBGF_SYSCALL, "${name} calling real syscall.\n");
${rc_assign} (*real_${name})(${call_args});
} else {
- ${alloc_paths}
+ ${fix_paths}
/* exec*() use this to restore the sig mask */
pseudo_saved_sigmask = saved;
${rc_assign} wrap_$name(${call_args});
- ${free_paths}
}
${variadic_end}
save_errno = errno;