Call routine to free everything obtained when filling in 'struct printer'.
MFC after: 3 days
This commit is contained in:
parent
722915cdec
commit
cc2b61b1dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99846
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user