diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2002-07-12 01:53:36 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2002-07-12 01:53:36 +0000 |
commit | cc2b61b1dda1b9d5bfaf8f30e9428f97b20dc354 (patch) | |
tree | 299f8a605d76e49fbbbbafb213d833005d1204e8 /usr.sbin/lpr | |
parent | 722915cdec2f6cecd8460d00d850349000e00396 (diff) | |
download | src-cc2b61b1dda1b9d5bfaf8f30e9428f97b20dc354.tar.gz src-cc2b61b1dda1b9d5bfaf8f30e9428f97b20dc354.zip |
Call routine to free everything obtained when filling in 'struct printer'.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=99846
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/lpc/cmds.c | 1 |
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); } |