aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpc/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr/lpc/cmds.c')
-rw-r--r--usr.sbin/lpr/lpc/cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c
index db984225c226..79fbe84fa5ba 100644
--- a/usr.sbin/lpr/lpc/cmds.c
+++ b/usr.sbin/lpr/lpc/cmds.c
@@ -242,6 +242,7 @@ wrapup:
if (generic_wrapup) {
(*generic_wrapup)(cmdstatus);
}
+ free_printer(pp);
if (generic_msg)
free(generic_msg);
}