Call routine to free everything obtained when filling in 'struct printer'.

MFC after:	3 days
This commit is contained in:
Garance A Drosehn 2002-07-12 01:53:36 +00:00
parent 722915cdec
commit cc2b61b1dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99846

View File

@ -242,6 +242,7 @@ generic(void (*specificrtn)(struct printer *_pp), int cmdopts,
if (generic_wrapup) {
(*generic_wrapup)(cmdstatus);
}
free_printer(pp);
if (generic_msg)
free(generic_msg);
}