printers: Remove a memory leak
TDevice and PpPrintDevice structures have "host_name" member which should be freed too.
This commit is contained in:
parent
1d121ebe65
commit
1ed138e957
2 changed files with 2 additions and 0 deletions
|
@ -3773,6 +3773,7 @@ pp_print_device_free (PpPrintDevice *device)
|
|||
g_free (device->device_location);
|
||||
g_free (device->device_name);
|
||||
g_free (device->device_ppd);
|
||||
g_free (device->host_name);
|
||||
g_free (device);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue